Workbook 6.2
From the Java Bootcamp Resources
, launch Workbook 6.2
.
Exams (Revisited)
Another wave of students needs to write their exams.
Task 1
Create a new array of five students.
"Malfoy", "Crabbe", "Goyle", "Pansy", "Dean"
Task 2
Create a for
loop that runs through the array, and prints a message for each element.
Result
>>: It's time to take your 5th year exams. Please, take your seats.
>>:
>>: Malfoy, you will take seat 0
>>: Crabbe, you will take seat 1
>>: Goyle, you will take seat 2
>>: Pansy, you will take seat 3
>>: Dean, you will take seat 4
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.