What are Encapsulation, Polymorphism and Inheritance?
Answer Posted / sakthi k
Wrapping of data and functions together is known as
Encapsulation. Eg: Capsule.
Ability of an object to take more than one form is known as
polymorphism.
Two types of polymorphism are availabe
Compile time
Run time
The process of acquiring the base class property is known
as Inheritance
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what is static import in java? Explain
How do you declare a destructor in java?
Give few difference between constructor and method?
Why is singleton not thread safe?
Is array synchronized in java?
Java.util.regex consists of which classes?
Can we write any code after throw statement?
What is the difference between overriding and overloading in OOPS.
What is the benefit of lambda expressions?
What is the flag in java?
Why are functions called methods in java?
What are java annotations?
Name some classes present in java.util.regex package.
What is the difference between compiler and jvm?
What is keyword and identifier?