This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Are you sure you didn't write That would declare a as a 1D array and b as a 2D array.
Joined: May 11, 2005
Aha, very clever!
V K Gupta
Joined: Aug 07, 2008
I didn't understand what you are trying to say.
This code does not compile on my machine, its a question from one mock exam of scjp
Joined: Aug 05, 2005
It compiles fine on mine. Are you sure you copied it properly. Post the code you are testing it with. Notice that I moved the  that were after a to before it i.e. int a became int a [ August 20, 2008: Message edited by: Joanne Neal ]