Question: need help with this 2d array problem Replace the ADD CODE HERE below with the code to print out the sum of the numbers in
need help with this 2d array problem
Replace the ADD CODE HERE below with the code to print out the sum of the numbers in the second row of the table array. It should print 18. Save & Run Load History Show CodeLens 1 public class Testi 2 { 3 4 5 public static void main(String[] args) { int[][] table { {1,4,9},{11,4,3},{2,2,3} }; 6 = 7 8 //ADD CODE HERE 9 } 10 11} 12 Activity: 8.5.17 ActiveCode (arr2DEx9q)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
