SE 450 Fall 2001/2002

Week 3 Lecture Notes


Method Overloading


Extending Classes (Inheritance)


Inheritance and Constructors


Polymorphism


Overriding Methods


Polymorphism and Overriding Example


Interfaces

ClassModifiers interface InterfaceName [extends Interfaces]{ list of method or variable declarations (methods have no implementation and fields must be static and final) }

Interface Example