Tell me real world example of polymorphism and encapsulation .
Answer Posted / pankaj
Rael world example fo polymorphism can be start machnism of
bike, inwhich u wil hav same method start() but it may be
either by kick start or button start.
N example for encapsulation can be a stack or queue doesn't
matter how it is implented internally with linked list or array
| Is This Answer Correct ? | 64 Yes | 27 No |
Post New Answer View All Answers
How do stacks work?
What you mean by sorting?
Which is the parent class of linkedlist class?
Explain exception filter?
Is array a data type?
How do I start preparing for placement?
Does hashset maintain order?
Which process places data at the back of the queue?
Why do we need sorting?
What do you mean by Runtime Error
Write an algorithm to show the postfix expression with the input given as : a b + c d +*f ? .
How does a selection sort work?
Does hashmap preserve insertion order?
What do you mean by hash table?
What is hashing technique?