What are Encapsulation, Polymorphism and Inheritance?
Answer Posted / mohankumar
Encapsulation is also known as information hiding,it is to
protect data from the client using the classes but still
allowing the client to access the data,but do not modifying it.
Polymorphism ability to perform differently on different forms.
Inheritance means one base class derived from one or more
classes.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is equlas() and hashcode() contract in java? Where does it used?
What is a method declaration?
In the below example, what will be the output?
How do you pass by reference?
How many functional interfaces does java 8 have?
What is bytecode verifier?
When object is created and destroyed?
What do you mean by of string::valueof expression in java 8?
What is the purpose of object oriented programming?
When throws keyword is used?
Explain about interthread communication and how it takes place in java?
What is singleton math?
What is the difference between a field variable and a local variable?
What does s mean in regex?
What is string intern in java?