Lecture Outline
- Static method (a method that you can call without needed to create an object of that class)
- Try/Catch allows us to deal with errors without crashing the program
- A reference variable is a pointer to an object in memory. If two pointers share the same object, an update to one will also update the other
Here is a hierarchy of all the different Java exceptions and errors you can catch:
Lecture Recording
Lecture Slides
Code