|
Chapter 6: Object Orientation
Introduction
Simple Objects
Non-Static Variables and Methods
Constructors
Example - Complex Numbers
Inheritance
Example - Geometrical Shapes
Further Issues
Example - Subclassing java.util.Random
Constructors
Access Control
Special Methods
Further Inheritance
Abstract
Final
Interfaces
Example - Methods as Arguments
Runtime Type Identification
Summary - Object Orientation
Exercises
Where to go from here
|