9. Object-Oriented Programming
9.1 Introduction
The idea of defining objects is quite natural to humans since we deal with objects in our day-to-day life. We understand an object as something that has
Early on, babies learn about objects in their environment. For example, as babies, we learn that a ball (
object) has a color, shape, and size (
attributes), and it rolls, skids, and bounces (
behavior). In the early 1970s, Alan Kay at Xerox PARC (Palo Alto Research Center) worked on the concept of
object-oriented programming (OOP)
[
1]. While working ...