Question: Which one of the following array declaration statements is not legal? Select the one correct answer. (a) int []a[] = new int [4][4]; (b) int

Which one of the following array declaration statements is not legal?

Select the one correct answer.

(a) int []a[] = new int [4][4];

(b) int a[][] = new int [4][4];

(c) int a[][] = new int [][4];

(d) int []a[] = new int [4][];

(e) int [][]a = new int [4][4];

Step by Step Solution

3.41 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

c The notation can be placed both after the type name and after th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming 8th Questions!