Tell me real world example of polymorphism and encapsulation .
Answer Posted / sp
Polymorphism can be considered as a Married man. Who acts
differently in different situation , he acts as a son to
his father and the same person acts as father to his
son .That is he plays , different roles in different
environment.
| Is This Answer Correct ? | 120 Yes | 10 No |
Post New Answer View All Answers
Construct a doubly linked list using a single pointer in each node?
How will you check the validity of an expression containing nested parentheses?
Is hashtable throw concurrentmodificationexception?
State the merit of linked representation of binary trees?
State the difference between stacks and linked lists?
What is data structure geeksforgeeks?
Which language is best for data structures?
Write the disadvantages of separate chaining?
Is priority queue sorted?
Explain Array of pointers?
How do you access the values within an array?
How would you reverse the characters of an array?
What is meant by binary tree traversal?
How can I learn data structures?
Can we store a string and integer together in an array?