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 is blank final variable?
What is a default constraint?
What is Recursion Function?
What is a “stateless” protocol ?
Why declare Main() method as a static in java ?
What is classname class in java?
What is constructor in java ?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is the current version of java?
What is empty string literal in java?
How many bits is a char?
What is java jit compilers?
Explain reverse a linked list recursive java solution?
Differentiate between == and equals().
What is the final variable?