It's not a secret anymore!*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Array" Watch "Array" New topic
Author

Array

nikhil nandu
Greenhorn

Joined: Jan 10, 2001
Posts: 4
A. int arr1[][] = new int[10][10];
B. int arr2[] = new int[10][10];
C. int arr3[10][] = new int[10][];
D. int arr4[][] = new int[10][];
I think ans for this qns is 1 and 4.Please correct me if i m wrong.
sankar sivassoupramanime
Greenhorn

Joined: Jan 03, 2001
Posts: 12
You are right!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Array
 
Similar Threads
Problems with arrays & for loops
How many objects are created by the following two statements?
how many objects will be created.
array
How many objects are created by the following two statements?