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
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
How to print nodes of a Binary tree?
Is 9 a prime number?
Explain different ways of creating a thread. Which one would you prefer and why?
Can java run on google chrome?
Where is the find and replace?
Discuss different types of errors that generally occur while programming.
What is the difference between array list and vector in java?
When do I need to use reflection feature in java?
What is the difference between heap memory and stack memory?
What does math floor () do?
What is the difference between serializable and externalizable interfaces?
why an outer class cannot be declared as private?
what r advatages of websphere? & how to deploy?