February 2014
Beginner
1248 pages
62h 25m
English
Say not you know another entirely, till you have divided an inheritance with him.
—Johann Kasper Lavater
This method is to define as the number of a class the class of all classes similar to the given class.
—Bertrand Russell
Objectives
In this chapter you’ll:
Understand inheritance and how to use it to develop new classes based on existing classes.
Learn the notions of superclasses and subclasses and the relationship between them.
Use keyword extends to create a class that inherits attributes and behaviors ...
Read now
Unlock full access