Chapter 3. Objects and Classes

Objects are the fundamental building blocks of an object-oriented (OO) system. Just as you learned in Chapter 2 that abstraction involves producing a model of the real world, you'll see in this chapter that objects are "mini-abstractions" of the various real-world components that comprise such a model.

In this chapter, you'll learn:

  • What a software object is made of

  • How we use classes to specify an object's data and behavior

  • How we create objects based on a class definition

  • How objects keep track of one another

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset