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 string builder in java?
Explain java coding standards for constants?
Can we override constructor in java?
Where local and global variables are stored?
Explain the selection sort algorithm?
Is break statement can be used as labels in java?
What is the use of a copy constructor?
What is the byte order of byte buffer?
what is the purpose of using rmisecuritymanager in rmi?
What are autoboxing and unboxing? When does it occur?
Is main a function?
What is the generic function?
What is java virtual machine? Explain
When should I use singleton pattern?
How would you format a date in java? I.e. In the ddmmyyy format?