Question: Which statement declares a two - dimensional integer array called myArray with 3 rows and 4 columns? Question 6 Answer a . int [ ]

Which statement declares a two-dimensional integer array called myArray with 3 rows and 4 columns?
Question 6Answer
a.
int[] myArray = new int[4][3];
b.
int myArray[3,4];
c.
int[][] myArray = new int[3][4];
d.
int[] myArray = new int[7];

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!