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 do we use arrays?
Which method will arrange the element of an array in alphabetical order?
Which is faster hashmap or hashset?
What are the operations that can be performed on a stack?
How to compare Two Arrays?
How do you sort an array in descending order?
Define the queue data structure.
What is int data type?
Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?
Why linked list is required?
What are the types of algorithms?
Write a code for dynamic allocation of array.
Which is faster treemap or hashmap?
Does hashmap sort automatically?
Is heap sort faster than quicksort?