Learning Objectives
In this week you’ll learn…
- how you can use your own classes in a larger program by properly assigning responsibilities to each class.
- how you can use exceptions as a means to report errors in your programs.
- We’ll only look at IllegalArgumentException and IllegalStateException for now.
- You should also be able to “catch” the exceptions.
- how overloading works.