What are Encapsulation, Polymorphism and Inheritance?
Answer Posted / janet
Encapsulation is the mechanism that binds together
code and data it manipulates and keeps both safe from
outside interface and misuse.
Inheritence is the process by which one object
acquires the properties of another object.
polymorphism is the feature that allows one
interface to be used for general class actions.
Is This Answer Correct ? | 53 Yes | 7 No |
Post New Answer View All Answers
What about abstract classes in java?
What is a numeric format?
What is an example of a constant variable?
explain different ways of using thread? : Java thread
what is a thread pool in java and why is it used?
What is a char in java?
explain the concept of virtual method invocation in polymorphism in detail?
What is method in java with example?
Explain constructors and types of constructors in java.
What are java packages?
Which is the class in java?
What is the benefit of inner / nested classes ?
What about anonymous inner classes in java?
What do you mean by flow of struts?
How many types of keywords are there?