Java Bootcamp – Workbooks and Challenges
)}

Workbook 2.1

From the Java-Bootcamp-Resources, launch the Workbook 2.1 folder.

Screen Shot 2022-10-10 at 7.03.55 PM.png

Did you download the resources?

If you did not download the resources yet, return to the lesson: Workbooks and Challenges.

Screen Shot 2022-10-13 at 5.48.30 PM.png

Reminder

Never launch all of the resources at once. You will not be able to run your code.

0daba7df-3d7a-447e-9910-724f27b8fdbc.jpeg

Only launch the exact folder that contains your Java file.

Screen Shot 2022-10-10 at 7.03.55 PM.png

This ensures that your terminal points to the correct folder.

Screen Shot 2022-10-17 at 2.38.27 AM.png

Task 1

A points variable starts at 0.

int points = 0;

Update the variable whenever Gryffindor wins or loses points.

Screen Shot 2022-10-30 at 9.47.55 PM.png

Task 2

Print your final result. It should be be 137.

Screen Shot 2022-10-09 at 5.00.51 PM.png

Solution

The code solution is beside your starter project.

Screen Shot 2022-10-10 at 11.48.41 PM.png

The video solution is inside the course appendix (last section on Udemy).

Screen Shot 2022-10-10 at 6.33.22 PM.png

Good Luck!


Associated Course: The Complete Java Development Bootcamp
Related Course: The Complete Spring Boot Development Bootcamp – Become a Java Web Developer

Feedback Summary
4.7
43 students
5

91%
4

2%
3

0%
2

0%
1

7%
Written Reviews
There are no written reviews yet.