Answers to Self-Review Exercises

  1. 12.1

    1. abstract.

    2. concrete.

    3. Polymorphism.

    4. abstract.

    5. downcasting.

  2. 12.2

    1. True.

    2. False. An abstract class can include methods with implementations and abstract methods.

    3. True.

    4. False. Only a concrete derived class must implement the method.

    5. True.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset