Java
Programming and Technical
Q. What are Encapsulation, Inheritance and Polymorphism?
A. Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse. Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions.
Read Solution (Total 2)
-
- Encapsulation - Binding the data
Inheritance - inheriting the properties from other class
Polymorphism - which performs more then one operation - 9 years agoHelpfull: Yes(0) No(1)
- Encapsulation- Its is a mechanism of wrapping up of data and functions into a single entity called a class.
Inheritance- It is one of the features of OOPS where the objects of 1 class can link and share some common propertries with objects of another class .
Polymorphism- It means 1 name many forms. - 9 years agoHelpfull: Yes(0) No(0)
Java Other Question