O'Reilly logo

Android™ How to Program, Third Edition by Harvey M. Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

G. Object-Oriented Programming: Inheritance and Polymorphism

Objectives

In this appendix you’ll:

Image Learn how inheritance promotes software resuse.

Image Understand the relationships between superclasses and subclasses.

Image Use keyword extends to effect inheritance.

Image Use protected to give subclass methods access to superclass members.

Reference superclass members ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required