Summary

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 7.  Inheritance


This chapter completed the basic concepts of object-oriented programming that were started in the previous chapter by defining inheritance and polymorphism. Inheritance enables you to create new specialized versions of classes based on existing classes. The design process enables you to create an inheritance hierarchy based on common functionality and object specialization. Polymorphism enables you to leverage that inheritance hierarchy to write methods that operate on super classes in the hierarchy and pass subclasses to those methods.

The next chapter looks at a Java-specific mechanism used to enhance polymorphism and facilitate some rather interesting new functionality called interfaces.


       
    Top
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net