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
Compare Mutex and Semaphore in java.
Is it possible to override the main method?
How does arraylist work in java?
What is mean by exception?
Is set thread safe java?
What is the major advantage of external iteration over internal iteration?
What is run time allocation?
Explain the private protected method modifier?
What does @param args mean in java?
What is a dynamic array java?
What are the various access specifiers for java classes?
Why is whitespace important?
What is extension method in java?
What are the drawbacks for singleton class?
Why string is immutable with example?