Week 2 - live Java - String class, StringBuilder, If / Else, Switch Enum

Опубликовано: 14 Март 2026
на канале: Maaike Bright Boost
579
8

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