Computer Applications
Write a short note on the principles of Object Oriented Programming.
OOP Intro Java
39 Likes
Answer
There are four principles of Object Oriented Programming:
- Data Abstraction — It refers to the act of representing essential features without including the background details.
- Encapsulation — It is a mechanism that binds the data and code (functions) together into a single unit.
- Inheritance — It is a powerful mechanism by which one class acquires the properties of another class.
- Polymorphism — It is the ability of a function or object to take on multiple forms.
Answered By
22 Likes
Related Questions
Provide real-life examples to explain the term, Inheritance.
Polymorphism means different forms. Explain Polymorphism in Java and provide examples to support your answer.
Explain the difference between Inheritance and Encapsulation with suitable examples.
What are the differences between Procedural Programming and Object-oriented Programming?