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
In questa pagina del sito puoi guardare il video online Exceptions in Java - Checked vs Unchecked della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Maaike Bright Boost 21 novembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,739 volte e gli è piaciuto 45 spettatori. Buona visione!