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 hashset in java?
5 Coding best practices you learned in java?
What are the main features of java?
Can list have duplicates in java?
What are advantages of using Java?s layout managers than windowing systems?
What is a stack class in java ?
What are static blocks and static initalizers in java ?
What is the use of put method?
What are the 5 types of research methods?
What are exception handling keywords in java?
What are the various access specifiers for java classes?
What is data type in computer?
Can we instantiate interface in java?
What is the use of math abs in java?
What is the size of integer?