Java FileReader and FileWriter

preview_player
Показать описание
This week we’ll be looking at exceptions. We’ll learn what checked and unchecked exceptions are, how to create custom exceptions and how to handle exceptions. After that we’ll look at reading and writing files.

Topics
- Exceptions

- Reading and writing files

Content
- Exceptions
- Reading and writing files

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
- Instead of writing the things happening in your tournament to the screen, write them to a file!
- Catch exceptions the correct way
- Create your own checked exception that gets thrown when the game is starting without a ball
- Catch this exception in the place where you are starting games
Рекомендации по теме
Комментарии
Автор

Thank you very much, I was struggling to understand this concept (FileReader), watched multiple videos. But only your explanation made me sort things out that clearly. Brilliant!

davidl.
Автор

You look so beautiful and I love the simplicity of the video. Short and easy to understand. Thanks Maaike

UzoAfrica
Автор

Great video, very concise and to the point! (:

GenesisWithin
Автор

why when i start any new loop, my txt file will refresh and all previous data in txt file will be deleted🥲🥲because it is a "score" txt file so i need all scores for comparison and show the highscore in the final result

喵喵-ce
Автор

beautiful girl and explanation, it's rarely to happen 😂

motionshot