Java Bootcamp – Workbooks and Challenges
)}

Workbook 6.1

From the Java Bootcamp Resources, launch Workbook 6.1.

6.1.png

Task 1

Create an array called seats that stores five students.

"Harry", "Neville", "Ron", "Hermione", "Seamus"

Task 2

Replace each placeholder by indexing values from the array.

Screen Shot 2022-10-31 at 7.55.05 PM.png

Result

>>: It's time to take your 5th year exams. Please, take your seats.
>>:
>>: Harry, you will take seat 0
>>: Neville, you will take seat 1
>>: Ron, you will take seat 2
>>: Hermione, you will take seat 3
>>: Seamus, you will take seat 4

Visualizing the Runtime

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

a6.1.png

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.