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
Define immutable object?
What is the difference between compiler and jvm?
Explain about object oriented programming and its features?
What is a void method java?
State differences between C and Java?
What is role of void keyword in declaring functions?
What are the 7 types of characters?
What are the differences between c++ and java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is array sorting in java?
Can we make main() thread as daemon?
What is null data type?
Difference between keyword and identifier.
What is thread life cycle?
Can classes declared using the abstract keyword cab be instantiated?