Question: I need help with this 2d array problem Given the following array, replace the ADD CODE HERE below with 1 line of code to replace
I need help with this 2d array problem
Given the following array, replace the "ADD CODE HERE below with 1 line of code to replace the word purple with "yellow using the correct array location. Save & Run Load History Show CodeLens 1 public class Test1 2 { public static void main(String[] args) 4 { 5 String [] [] arr = { {"red","orange", "purple"}, {"green","blue' 3 6 7 // ADD CODE HERE // 8 9 10 11 = for (int row = 0; row
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
