Professional Documents
Culture Documents
OOPS
OOPS
PRINCIPLES OF OOPS
ENCAPSULATION
Wrapping up of Data Members and Member Functions into a single unit called
class.
2. DATA ABSTRACTION
Dealing only with relevant part and ignoring all background details.
3. INHERITANCE
Feature that allow a class (Derived, sub. child) to acquire the properties of
another class (Base. super, parent).
Advantage — Reusability of code
4. POLYMORPHISM poly means many. Morphism means forms. So Polymorphism
means one thing having many Forms'.
Achieved through Function Overloading.
CLASS
User defined type or Composite type Template.
• Blue print