Thread
:
Bounded Array
View Single Post
#
5
(
permalink
)
01-04-2008, 10:41 AM
bugger
Senior Member
Join Date: Nov 2007
Posts: 111
Thanks all of you. It was a simple thing that I was not thinking of:
Code:
int size = 10; String[] array = new String[size];
But I learnt that if size is not defined, we can use ArrayList. And also generics can be used.
Again, thanks guys.
bugger
View Public Profile
Send a private message to bugger
Find all posts by bugger