Computer Science, asked by aaryaswarup, 19 days ago

Which element will be printed by the statement System.out.print(A[7]) where
A[] is the Array and 7 is the index value.

Answers

Answered by neelamguptagupta79
0

Answer:

Which of the following can print out all elements in array? int[] [] items = { {0, 1, 3, 4}, {4, 3, 99, 0, 7 }, {3, 2} }; for (int row=0; row < items.length; rowt) O { System.out.println(); for (int col=0; col < items.length; col++) System.out.print( items[row][col] + " "); } for (int row=0; row < items.length; row++) { System.out.println(); 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 row=0; row < items[row).length; row++) System.out.print( items[row][col] + " "); System.out.println(); } for (int row=0; row < items.length; row++) System.out.println(); for (int col=0; col < items[row).length; col++) System.out.print( items[row][col] + " ");

Similar questions