Thread: Bounded Array
View Single Post
  #2 (permalink)  
Old 01-03-2008, 11:36 AM
tim's Avatar
tim tim is offline
Senior Member
 
Join Date: Dec 2007
Location: South Africa
Posts: 334
tim is on a distinguished road
Hello bugger.

I think it's just the normal declaration of an array of type String:

Code:
int size = 10; String[] array = new String[size];
or in Synax:

Code:
int size = 10; <type here>[] array = new <type here>[size];
Hope this helps.
__________________
If your ship has not come in yet then build a lighthouse.
Reply With Quote