Java Bootcamp – Workbooks and Challenges
)}

Workbook 3.2

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

Screen Shot 2022-10-16 at 4.40.05 PM.png

The Java Mart

You start with $100, and your kids will ask you to buy them stuff.

Screen Shot 2022-10-16 at 5.13.39 PM.png

Scenario 1: If you have enough money, display Sure! and update the wallet value.

Screen Shot 2022-10-16 at 5.06.50 PM.png

Scenario 2: If you don't have enough money, display Sorry I only have <wallet> left.

Screen Shot 2022-10-16 at 5.08.56 PM.png

Run your code


Visualizing the Runtime

After you solve this workbook, I still recommend watching the video solution on Udemy.

Screen Shot 2022-10-16 at 5.25.04 PM.png

It will show you how to visualize the runtime using Visual Studio Code.

Solution Code

The solution code is inside the same folder as the starter project.

Screen Shot 2022-10-16 at 5.23.27 PM.png


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.