Short Notes on OOPS:
Abstraction:
It denotes the essential characterstics of an object which differentiate from other object and thus provide crisply defined conceptual boundaries relative to the perspective viewer.
Encapsulation:
It is the mechanism that binds together the code and the data it manipulates and keeps both safe from outside misuse and interference.
Inheritance:
One object acquired the properties of another Object.
Polymorphism:
It is an ability of an object to take on many forms.
Ex: Compile time polymorphism – method over loading
Run time polymorphism – method overriding
No comments:
Post a Comment