Tell me real world example of polymorphism and encapsulation .

Answer Posted / rexreno

polymorphism can be describe as a key in our mobile phone,
if we press key one time it write say "m" and if 2 times it
write "n".
same key implementing different tasks.

Is This Answer Correct ?    46 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inserting in data structure?

482


Define binary tree insertion.

577


Define primary clustering?

533


Can hashmap store null values?

477


What is a multiset table?

430






How does a treemap sort?

415


How efficient is binary search?

459


How is hashmap o 1?

474


Why is hashset used?

500


How can I study data structures and algorithms?

505


What is the time complexity of arrays sort?

450


For addition and deletion. Which one is most preferred: array list or linked list?

500


What is linked list ?

521


List out the basic operations that can be performed on a stack?

449


List the area of applications of data structure.

757