A two Dimensional array of size 2x2 can be declared like this intx=new int; What do u think folk's, given option is right or wrong.
Joined: Mar 16, 2001
Hi Nitin, You are right a two dimensional can be declared by <code> intx=new int; // Legal</code>, but <CODE> intx=new int; // is ILLEGAL </CODE>. You may like to see the folowing code:
Hope this serves your purpose. All the best for your SCJP. Cheers, Ravindra Mohan