Some Final Object Concepts

  • Jacquie Barker
  • Grant Palmer


By now, you’ve hopefully gained a solid appreciation for how powerful object-oriented languages are for modeling complex real-world situations. By way of review:
  • We can create our own user-defined types, also known as classes, to model objects of arbitrary complexity, as we discussed in Chapter 3.

  • We can arrange these types into class hierarchies to take advantage of the inheritance mechanism of OO languages, as we discussed in Chapter 5.

  • Through encapsulation and information hiding, we can shield client code from changes that we make to the private implementation details of our classes, as well as making objects responsible for ensuring the integrity of their own data, as we discussed in Chapter 4.

  • Classes can model the most complex of real-world concepts, particularly when we take advantage of collections, as we did when modeling the transcript attribute of the Student class in Chapter 6.


Base Class Abstract Method Total Enrollment Method Body Public Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jacquie Barker and Grant Palmer 2004

Authors and Affiliations

  • Jacquie Barker
  • Grant Palmer

There are no affiliations available

Personalised recommendations