Here now freshers junction explains What is Oops? What are concepts are present in the Oops.
Oops (Object Oriented Programming language):
Major Concepts in Oops:
1.Abstraction:Abstraction can be defined as “process of representing only essential features”.
Real time example for abstraction is “ATM”
How ATM is real time example of Abstraction
Abstraction have more advantages and also have Disadvantages
Advantages and disadvantages of abstraction
2. PolymorphismPolymorphism can be defined as “same operation may behave differently on different classes”
Real time example for polymorphism is “Door”
How Door is real time example of Polymorphism
In Polymorphism there are two types.
Detailed description of Types of polymorphism
Example programs for polymorphism
Inheritance is defined as “one class (child class) inherits or acquire the property (members) of another class”
Real time example for Inheritance is “parent child relationship”
How parent child relationship is real time example of Inheritance
Example Program for Inheritance ,Advantages and disadvantages of Inheritance
4. EncapsulationEncapsulation is defined as “Wrapping up data member and method together into a single unit”.
Real time example of Encapsulation is Car Driving, More detailed description about real time example
Encapsulation have advantages as well as disadvantages
Conclusion: If you have any queries about Abstraction, Encapsulation, Inheritance & Polymorphism concepts, then comment here we are ready to help you.
Follow us on Google+, we reach and help you more effectively
You may also search in Google as:
Real time examples of Abstraction, Encapsulation, Inheritance & Polymorphism , example programs for Abstraction, Encapsulation, Inheritance & Polymorphism, advantages and disadvantages of Abstraction, Encapsulation, Inheritance & Polymorphism, details about oops concepts, Abstraction, Encapsulation, Inheritance & Polymorphism, oops concepts with examples, real time examples for oops concepts, real time example explanation Abstraction, Encapsulation, Inheritance & Polymorphism, Oops concepts in java with real time examples, Oops concepts in .Net with real time examples