Question: Which is the first line to prevent this code from compiling and running without error? A. Line r1 B. Line r2 C. Line r3 D.
Which is the first line to prevent this code from compiling and running without error?
![char [][]ticTacToe = new char [3,3]; ticTacToe [1] [3] = 'X'; ticTacToe](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1707/2/9/6/81965c34833683ae1707296819095.jpg)
A. Line r1
B. Line r2
C. Line r3
D. None of the above.
char [][]ticTacToe = new char [3,3]; ticTacToe [1] [3] = 'X'; ticTacToe [2] [2] = 'X'; ticTacToe [3] [1] = 'X'; System.out.println(ticTac Toe. length + " in a row!"); // r3 // r1 // r2
Step by Step Solution
3.30 Rating (168 Votes )
There are 3 Steps involved in it
The first line that will cause this Java code to not compile and run without error is Li... View full answer
Get step-by-step solutions from verified subject matter experts
