Review Questions

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 7.  Inheritance


1:

Define the term override with respect to Java inheritance.

2:

How do you define a class that must be extended?

3:

How do you define a class that cannot be extended?

4:

Define polymorphism.

5:

Where does specialized functionality belong in the inheritance hierarchy?

6:

Where does generalized functionality belong in the inheritance hierarchy?

7:

Is the super class or subclass constructor called first?

8:

What is the keyword super, and what does it offer you?

9:

What is the super() method?

10:

How is finalization accomplished for super classes?


       
    Top
     



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

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