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 are the Differences between map and hashmap?

510


Differentiate between push and pop?

668


What are the different types of sorting? Explain the difference between them.

607


What is data structure in programming language?

469


Differentiate between hashmap and hashtable.

619






How many links are there in a binary tree of N nodes?

592


Can we store null in arraylist?

467


Does arraylist shrink?

468


Write an algorithm through which the inserting and deleting of elements can take place in circular queue?

512


Explain the Array

572


What is stack algorithm?

467


Is binary tree a bst?

507


What are the issues that hamper the efficiency in sorting a file?

584


How to sort an Array?

583


Can we create a null as a key for a map collection?

515