Chapter 8. Inheritance and Polymorphism


[Page 349]

OBJECTIVES

After studying this chapter, you will

  • Understand the concepts of inheritance and polymorphism.

  • Know how Java's dynamic binding mechanism works.

  • Be able to design and use abstract methods and classes.

  • Be able to design and use polymorphic methods.

  • Gain a better understanding of object-oriented design.

OUTLINE

8.1

Introduction

8.2

Java's Inheritance Mechanism

8.3

Abstract Classes, Interfaces, and Polymorphism

8.4

Example: A Toggle Button

8.5

Example: The Cipher Class Hierarchy

 

Historical Cryptography

8.6

CASE STUDY: A Two-Player Game Hierarchy

8.7

Principles of Object-Oriented Design

 

Chapter Summary

 

Solutions to Self-Study Exercises

 

Exercises





Java, Java, Java(c) Object-Orienting Problem Solving
Java, Java, Java, Object-Oriented Problem Solving (3rd Edition)
ISBN: 0131474340
EAN: 2147483647
Year: 2005
Pages: 275

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