Skip to Main Content
Java 6 Illuminated: An Active Learning Approach, 2nd Edition
book

Java 6 Illuminated: An Active Learning Approach, 2nd Edition

by Julie Anderson, Herve J. Franceschi
February 2008
Intermediate to advanced content levelIntermediate to advanced
1288 pages
39h 39m
English
Jones & Bartlett Learning
Content preview from Java 6 Illuminated: An Active Learning Approach, 2nd Edition
10.9 Chapter Summary 717
CHAPTER SUMMARY
10.9 Chapter Summary
Inheritance lets us organize related classes into ordered levels of
functionality, called hierarchies. The advantage is that we write the
common code only once and reuse it in multiple classes.
A subclass inherits methods and fields of its superclass.A subclass can
have only one direct superclass, but many subclasses can inherit from
a common superclass.
Inheritance implements the is a relationship between classes. Any
object of a subclass is also an object of the superclass.
All classes inherit from the Object class.
To specify that a subclass inherits from a superclass, the subclass ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition

JFC Swing Tutorial, The: A Guide to Constructing GUIs, Second Edition

Kathy Walrath, Mary Campione, Alison Huml, Sharon Zakhour
Java Illuminated, 4th Edition

Java Illuminated, 4th Edition

Julie Anderson, Hervé J. Franceschi

Publisher Resources

ISBN: 9780763749637