Java Access Modifiers - Public, Protected, Default and Private

preview_player
Показать описание
The topics of this weeks are things we have seen already, but we didn’t look at how these were working exactly. We’ll be having a look at methods and access modifiers.

Topics
- Methods
- Access modifiers

Content
- Methods
- Access modifiers

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
- Write a method in Game that decide what team is winning the game and store that in score
- Write a method in Round that randomly assigns teams to games and plays the game (calls the method you wrote in Game)
- Write a method in Tournament that runs all the rounds and gives the winners of a certain round as input for the next round
Рекомендации по теме
Комментарии
Автор

This was really interesting! I have been always confused about protected and default but this explanation helped me a lot!

EnriqueMoranG