✏️ Explanatory Question
Write a Java program to calculate and print the sum of all elements in the following 2D array:
int[][] arr = { {2, 4, 6}, {1, 3, 5}, {7, 8, 9} };
Write a Java program to calculate and print the sum of all elements in the following 2D array:
int[][] arr = { {2, 4, 6}, {1, 3, 5}, {7, 8, 9} };
Answer not available right now.
Sign in to save your progress and continue exactly where you left off.