To create an object inside the computer program, we must provide a definition for objects—how they behave and what kinds of information they maintain —called a class.
It is indeed possible for an object to communicate with another object in a non-persistent manner. Such non-persistent communication is generally not thought of as a compositional relationship, but rather as a dependency relationship where the action of one object depends on that of another.
An object is an "actor" or self-contained software unit that often corresponds to a real world entity and, therefore, running an object-oriented program is like performing a simulation of the real world.
Summary This presentation assumes audience have the knowledge of Object-Oriented A & D and emphasize on OOP programming with python Introduces Python’s special methods to realize class definition, inheritance, multiple inheritance, accessibility, polymorphism, encapsulation.
NOTE: OO applies to requirements engineering because it is a modeling tool. But we are modeling domain objects, not the design of the new system Nearly anything can be an object... Source: Adapted from Pressman, 1994, p242
That we can use objects as instance variables (String is an object). This is called Composition. If we think of an object as a machine, the instance variables represent the gears. We don’t want to expose the gears to the user of the machine.
Object oriented programming is not bound to a specific programming language; some require less code to be written; the important part is sticking to the established conventions