Chapter 7. Class Fundamentals
In This Chapter
In your everyday life, you perform all sorts of activities using objects. You use a fork to eat; you drive your car to reach your office; and you spend money to buy things. Each of these objects has its own characteristics. There are hundreds of car models; they have different colors, different engines, and different accessories, but they all are cars. Object-oriented programming (OOP) is similar to this view of life. In fact, OOP relies on objects; for example, you can have an object that enables working on files or another object that ...