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
Why is boolean important?
What is core java used for?
What is meant by structural programming?
How is a variable stored in memory?
When should I use a singleton?
What is the common usage of serialization?
what are three ways in which a thread can enter the waiting state? : Java thread
What is the use of a conditional inclusion statement in Java ?
Explain about the dynamic behavior of core java?
what is method reference in java 8?
What does java se mean?
How do you compare characters in java?
What is compareto () in java?
How many bits is a 64 bit byte?
What are java annotations?