Description
This book is the third in a series of books on software development in Java The subject is object-oriented programming that deals with how a running program consists of cooperating objects and how these objects are defined and created on the basis of the program’s classes. The subject of this book deals primarily with classes, interfaces, and inheritance. Other object-oriented subjects are treated in the next book.
Content
- Introduction
- Classes
- More classes
- Methods
- Objects
- Visibility
- Statical members
- The CurrencyProgram
- Interfaces
- Interfaces
- More students
- Factories
- Inheritance
- More about inheritance
- The class Object
- Typecast of objects
- A last note about classes
- Considerations about inheritance
- The composite pattern
- Final example
- Analyse
- Design
- Programming