Object Model - OOP - 3 PDF
Object Model - OOP - 3 PDF
Object Model - OOP - 3 PDF
Hierarchy
Typing
Concurrency Minor
And Persistence
Prof.R.Gururaj Object Oriented Programming BITS Pilani, Hyderabad Campus
All these concepts put together makes the object
model.
This objet-orientation requires a different thinking
about decomposition.
Object-oriented programming means different things
from structured programming.
Minor Elements:
1. Typing
2. Concurrency
3. Persistence
Ex: Car
The inside view focuses on how this contract is carried out by the
object (often in collaboration with other objects).
Abstraction can be seen as a simplified description of a system
that emphasizes some of the system details / properties while
suppressing others.
Interface
Implementation
Other advantages:
1. Work assignment in Development team.
2. Interfacing between modules in minimum and well-defined.
Ex:
C++ resolves the name clash by attaching the classname
qualifier.
Ex:
Most of the cases, multiple inheritance is misused.
Hence it is prohibited by some languages.
Smalltalk is untyped.
Any object can invoke some method on any object, even
that method is not defined for that object. Violation is not
known until execution.