In Object-Oriented Programming (OOP), an instance of a program (i.e. a program running in a computer) is treated as a dynamic set of interacting objects. Objects in OOP extend the more general notion of objects described above to include a very specific kind of typing, which among other things allows for:
data members that represent the data associated with the object.
methods that access the data members in predefined ways.
In the case of most objects, one can access the data members only through the meth ...