OOPS (Object Oriented Programming System)

 


OOPS (Object Oriented Programming System) 


OOPS is a mechanism to write computer program using Class and Object.
We have total 4 principles under OOPS provided by OOAD.
OOAD stands for Object Oriented Analysis and Design.



ABSTRACTION
A process of providing necessary data and hiding unnecessary data .
In other words, just showing needed/limited information to user and hiding rest of the data from user.
Nothing is hidden to a developer.



ENCAPSULATION
A process of binding/wrapping related state and behavior into a single unit and container.
State is nothing but variables which holds data and behavior is nothing but methods which perform operation(s)



INHERITENCE
Wrapping properties(States and Behaviors) from one class to another class is called inheritance.
Properties are nothing but state and behavior.



POLYMORPHISM
Defining many methods under one name.
Poly means many and morph means behavior (forms)





Comments

My photo
Techno Xpresss
Bangalore, Karnataka, India