In Chapter 4, we covered the basics of programmer-defined classes with illustrative
examples. There we focused our attention on straightforward cases. After seeing
more sample programs in Chapters 5 and 6, we are now ready to attack advanced
topics of programmer-defined classes. In addition to introducing several new topics,
we will revisit some of the topics from Chapter 4 and provide a more in-depth discussion.
In Chapters 5 and 6, we used the Fraction class to illustrate some of the
concepts. We will continue to use the Fraction class in this chapter to illustrate the
key concepts introduced here. Toward the end of this chapter, we will provide a
complete definition of the Fraction class. In addition to this Fraction class, we will
go over other sample classes to help students master the key concepts.
To learn more about the book this website supports, please visit its Information Center.