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
https://www.w3schools.com/java/java_t...
https://www.geeksforgeeks.org/excepti...
https://www.geeksforgeeks.org/types-o...
Reading and writing files
https://www.geeksforgeeks.org/file-ha...
https://attacomsian.com/blog/java-rea...
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
Auf dieser Seite können Sie das Online-Video Exceptions in Java - Checked vs Unchecked mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Maaike Bright Boost 21 November 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,739 Mal angesehen und es wurde von 45 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!