Professional Documents
Culture Documents
Oops
Oops
Oops
Superficially the term object oriented means that we organize software as a collection of
discreet objects that incorporate both data structure and behaviour.
2. Characterstics of objects
Identity- Identity means that data is quantized into discreet distinguishabe quantities called
objects.
Classification-Objects with same data structure(attributes) and behaviour(operations) are
grouped into a class.
Polymorphism-Same operation may behave differently on different classes.
Inheritance-Sharing of attributes and operations among classes based on a hierarchical
relationship. A class can be defined broadly and van then be refined into successively finer
classes.
4. Types of Inheritance
Singl e Inheritance
Multiple Inheritance
Multilevel Inheritance
Implementation Inheritance
Interface Inheritance