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
Which class is used by server applications to obtain a port and listen for client requests?
Can we serialize static variables in java?
Can an integer be null java?
extending thread class or implementing runnable interface. Which is better? : Java thread
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is the use of using enum to declare a constant?
explain local datetime api in java8?
How many types of interfaces are there?
How do you find the absolute value?
What is a string token?
What is the concatenation operator in java?
What is the same as procedures?
what are abstract functions?
How to create a fecelet view?
What are the advantages of functions?