Tell me real world example of polymorphism and encapsulation .

Answer Posted / abhishek

real example is our eyes work seen the object in light, and
work not seen object in dark .

Is This Answer Correct ?    4 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is best array or linked list?

448


What is the difference between linked list and array?

478


By Which algorithm, the 8 queens problem is solved?

487


What is harvesting in agriculture?

476


Explain set interface?

545






Which sorting technique is best?

504


Why set will not allow duplicates?

474


Does linked list allow duplicates?

492


How does dynamic memory allocation help in managing data?

1043


What is garbage collection in data structure?

480


State the different types of linked lists?

479


Define the graph data structure?

521


What is subtree?

515


How do you do a mergesort?

460


What is the difference between the hash table and hash map?

492