Given the following code, what is the value of ticTacToe[2].length
String row1[] = {" ","X","O"};
String row2[] = {"X"," ","O"};
String row3[] = {"O","X"," "};
String ticTacToe[][] = {row1,row2,row3};
The answer to your question is provided in the image:
Comments
Leave a comment