Write code below to change the 3rd row index 2 to a new


Questions Refer to the following 2D array of int elements.

int[][] nums = {{10,20,30,10},{20,10,50},{30}} ;

1. What is the value of nums[2][1] ?

2. What do your write to get the number 50?

3. What do you write to print number of rows in array nums?

4. Write code below to change the 3rd row (index 2) to a new array that contains the numbers 50, 60 and 70.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write code below to change the 3rd row index 2 to a new
Reference No:- TGS02911039

Expected delivery within 24 Hours