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 the method to find the complexity of an algorithm?

546


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

461


What are binary search and fibonacci search?

512


How is bubble sort done?

464


Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?

506






What do you mean by hash table?

559


Which searching algorithm is best?

464


Which is faster binary or linear search?

485


In what data structures are pointers applied?

601


Which sorting algorithm is best for small data?

468


What is lifo?

667


Explain the types of linked lists.

559


How to find 3rd element from end in a linked list in one pass?

464


Are hash tables ordered?

478


Why is concurrenthashmap thread safe?

503