Monday February 6th, 2023
Lecture Outline
- Finish up static methods
- Java classes do not inherit private instance fields. To make a private instance field inheritable, we swap from "private" to "protected"
- Abstract classes are a superclass (A class that is inherited from) that cannot be instantiated and is used to state or define general characteristics. Ie. you CANNOT create an instance of an abstract class
- An interfaces is an abstract class that consists of method definitions with no body (we will talk more about this on wednesday)
Lecture Recording
Lecture Slides
Code