Switch statement

Published: 03 October 2020
on channel: Maaike Bright Boost
207
4

Week 2
Great that you are still with us! After getting acquainted with the ultimate basics of Java, it’s now time to look a bit more in-depth to zoom in on fields, primitives, operations and casting. This week is going to be substantially more work than last, but the good news is that you will learn a lot!

Topics
String method
String builder
If
Switch
Enums

Content
String method
https://www.w3schools.com/java/java_r...
https://www.tutorialspoint.com/java/j...
String builder
https://www.javatpoint.com/StringBuil...
https://www.geeksforgeeks.org/stringb...
If
https://www.w3schools.com/java/java_c...
https://www.javatpoint.com/java-if-else
Switch
https://www.w3schools.com/java/java_s...
https://www.geeksforgeeks.org/switch-...
Enums
https://www.w3schools.com/java/java_e...

Questions
If you have any questions about the content, please write them under the corresponding Youtube video. The questions that are asked most will be discussed in the Saturday session. You can also ask your direct team members and the other participants. Please help each other as much as possible, if you see a question you know the answer too, please answer 😊 We’re doing this together!

Homework
Continue working from last week’s project
Add an enum that keeps the status of the team in the tournament
Give team the enum status as a property
In the main method:
o Create a team
o Give it all the properties
o Use an enum to print something about the status of team
o Use an if statement to see if the team has a name of more than 10 characters and print something about that


Watch video Switch statement online without registration, duration hours minute second in high quality. This video was added by user Maaike Bright Boost 03 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 20 once and liked it people.