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


Please Help Members By Posting Answers For Below Questions

How do you check if a character in a string is a digit or letter?

510


Does the order of public and static declaration matter in main method?

616


how come we know the object is no more used in the class?

5425


What is assembly used for?

502


What is the purpose of an interface?

554






Can you extend main method in java?

620


What is command line argument in java?

605


How do I compare two strings in word in java?

541


Name some OOPS Concepts in Java?

639


What is the difference between break and continue statements?

547


Name container classes in java programming?

593


What does a za z0 9 mean?

562


What is quick sort in java?

557


What is keyword and identifier?

639


Why can't we make a class private in java?

537