Java Bootcamp – Workbooks and Challenges
)}

Debugging Exercise 6

Goal: debug the Pyramid.java code.

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

Debugging


The goal is to construct a right diagonal:

>>:         *
>>:       *
>>:     *
>>:   *
>>: *

However, the starter code prints the following:

>>: *

>>: * *

>>: * * *

>>: * * * *

>>: * * * * *

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

Good Luck!

Feedback Summary
4.8
38 students
5

92%
4

3%
3

0%
2

0%
1

5%
Written Reviews
There are no written reviews yet.