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
Is an array a vector?
What does exclamation mean in java?
Explain about the interpreter in java?
Is an object null?
Can a constructor be protected?
What is difference between add() and addelement() in vector?
What sorting algorithm does javascript use?
What is local declaration?
What are thread safe functions?
What is parsing in grammar?
What is a line separator in java?
Is java still relevant?
Can a hashset contain duplicates java?
State the main difference between c++ and java?
Can you extend singleton class?