O'Reilly logo

Beginning C# 2008: From Novice to Professional by Christian Gross

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Learning About Components and Object Hierarchies

The previous chapter covered the basics of object-oriented programming. You learned how one class can subclass another class, thus building a hierarchy. Using an object hierarchy, classes can share functionality.

This chapter will focus on the details of object hierarchies, including how to extend them so that derived classes can specialize shared functionality. To demonstrate these concepts, we will build a tax application. This type of application is a good example of using object hierarchies, because the general idea of paying taxes is identical, regardless of the country, but the details are different.

From a technical perspective, we'll cover the following topics:

  • Interfaces, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required