explain oops concepts with examples?
Answer Posted / reddy
Abstraction: giving only important things hiding unnecessary
things.
data hiding: we can get by using private keyword
encapsulation: abstraction+data hiding(security)
polymorphism: flexibility
inheritance: reusability
| Is This Answer Correct ? | 116 Yes | 44 No |
Post New Answer View All Answers
What is an immutable object?
How does linkedlist work in java?
What does it mean that a class or member is final?
Is null a keyword in java?
What is the difference between the prefix and postfix forms of the ++ operator?
What is the maximum size of list in java?
Does printwriter create a file?
Where will it be used?
How will you print number in reverse (descending) order in BST.
Do you need to import math in java?
What is java objectoutputstream?
What is Applet Stub Interface ?
What is finalize method?
What is the difference between static binding and dynamic binding?
Why does java not allow multiple public classes in a java file ?