Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array Declaration

Status
Not open for further replies.

munnanext

Programmer
Aug 20, 2004
49
US
Is this way of Declaring an array corect

Int[] []x[];
 
Well, "correct" is a pretty strong term. Here's how I do it:

static String petDb[][]

then

petDb = new String[numPets+12][numfields]

for example.

Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top