Notes
Thursday (Nov 19) - Test
Two problems from the 3 + 8 problems HW1 and HW2.
Things to Know by Now
- numbers
- strings
- expressions
- statements
- assignment
- conditionals
- loops
special method main
public static void main( String[] args ) { }
Class Extension Mechanism
All features of base class plus. (Union base with new features).
Inheritance
Polymorphism
an object can be of different classes.
Dynamic Method Lookup
use method of most specific class.
Interface
Abstract Class
Appendix
say
public class
File Name for Classes
If there is a public class in a file then the filename must match it.
One can run any class that has a main.
Showing changes from previous revision. Removed | Added
