explain oops concepts with examples?
Answer Posted / srinivas
abstraction:it shows important data and hide the unwanted data
polymorphism:it shows different behaviors at different instances
Encapsulation:it provides security for the data
inheritance:the process of acquiring the properties of one
object to another object
| Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
What is the purpose of the runtime class in java programming?
What is lexicographically smallest string?
What are autoboxing and unboxing? When does it occur?
Explain importance of throws keyword in java?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Is vector synchronized in java?
Explain about doubly linked list
Why there are some null interface in java? What does it mean?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is package private scope in java?
How many types of threads are there in java?
What is the primary benefit of encapsulation?
What is the difference between inheritance and encapsulation?
What is the abstraction?
What is difference in between java class and bean?