Interfaces, Polymorphism and Packages

April 13th, 2016

Slides

Lecture Recording

Lecture Code

Key Points

Interfaces

Polymorphism

Packages

Class Exercise

Declare an interface named iShape that has a method called getArea() that returns a double. Declare and demonstrate a Circle class that implements iShape. Declare and demonstrate a Square class that implements iShape.