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
How to calculate the length of a singly linked list in java?
What is the difference between super class & sub class?
What kind of variables can a class consist?
What is java algorithm?
How do you reverse a string in java without using string buffer?
what is use of functional interface in java 8?
What is e java?
Explain the difference between intermediate and terminal operations in java8?
Which method returns the length of a string?
What types of index data structures can you have in java?
How many types of java are there?
What class allows you to read objects directly from a stream in java programming?
What do you mean by composition in java?
How many types of voids are there?
How many ways can we create the string object?