Summary

Objects are organized by categorization and classification. This provides a means of keeping them organized for more efficient utilization. A common way to organize objects is through hierarchies. This chapter showed how hierarchies are formed, and also explained the concepts of inheritance, generalization, and specialization.

Hierarchies are built by using varying degrees of abstraction. This chapter discussed abstraction and how to apply it, and also explained why some objects are pure abstractions as opposed to concrete instances of objects.

Object-oriented software employs containment and encapsulation. You saw how to achieve this by having objects within objects. Encapsulation is used to expose only those attributes and behaviors ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.