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 do you classify Dialog Box?
If we don’t want some of the fields not to serialize how to do that?
What does indexof mean?
Can list be null in java?
What is difference between filereader and bufferedreader?
What is the use of bufferedreader?
Why is method overloading not possible by changing the return type in java?
What is factor r?
What are different types of multitasking?
Can we catch more than one exception in single catch block?
Give reasons supporting that string is immutable.
What is the use of default method in interface in java?
What is gc()?
Why do we use string?
What is the maximum size of byte array in java?