Workbook 5.1
From the Java Bootcamp Resources
, launch Workbook 5.1
.
Megaphone.
In this workbook, you will use your Java Megaphone and print this 10 times:
If Java was easy, they would call it Python!
Task 1 - Make a for
loop.
Make a for
loop that prints this message 10 times.
>>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python! >>: If Java was easy, they would call it Python!
Task 2 - Number each line.
Number each line starting from 1.
Visualizing the Runtime
After you solve this workbook, I still recommend watching the video solution on Udemy.
It will show you how to visualize the runtime using Visual Studio Code.
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.