Question: For 2D array named items of size 10 rows and 3 columns, Which of the following fragments prints out every element of array? for

For 2D array named items of size 10 rows and 3 columns, Which of the following fragments prints out every 

For 2D array named items of size 10 rows and 3 columns, Which of the following fragments prints out every element of array? for (int row=0; row < items.length; row++) for (int row=0; row < items[row].length; row++) System.out.print( items[row][col] + ""); for (int row=0; row < items.length; row++) for (int col=0; col < items[col].length; col++) System.out.print( items[row][col] + " "); for (int row=0; row < items.length; row++) for (int col=0; col < items.length; col++) System.out.print( items[row][col] + " "); for (int row=0; row < items.length; row++) for (int col=0; col < items[row].length; col++) System.out.print( items[row][col]+");

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above question is provided below The image displays four code fragments ... 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 Programming Questions!