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
Why quicksort is faster than merge sort?
What is the difference between array sort () and array sort t >()?
Is stack a dynamic data structure?
What is the difference between list, set and map?
How do stacks work?
Can arraylist have null values?
Why sorting is done?
What is the heap in data structures?
Is arraylist synchronized?
What is a subtree in data structures?
What is the use of bubble sort?
What are the properties of binary heap?
What is a reverse linked list.
Describe tree rotation in avl tree.
Explain heapsort. What is its complexity?