Java Bootcamp – Workbooks and Challenges
)}

Debugging Exercise 8

Goal: debug the TicTacToe.java code.

From Java Bootcamp Resources -> Module 2 -> 8\. Exception Handling -> Debugging Workbooks open the folder, exercise-eight.

Debugging

Your code was supposed to produce the following output:

>>: X _ O

>>: _ O _

>>: O _ X

O WINS!

Instead, your code produces:

>>: X _ O

>>: _ X _

>>: O _ X

O WINS!

Use breakpoints to visualize the runtime. Watching the output line by line will help you debug the problem.

Good Luck!

Feedback Summary
4.8
39 students
5

92%
4

3%
3

0%
2

0%
1

5%
Written Reviews
There are no written reviews yet.