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
Can arraylist store int?
Does map extend iterable?
Define non linear data structure.
What is data type with example?
What are lists?
How is bubble sort done?
What is the use of treemap?
Define circular list?
What are control structures?
Explain exception filter?
How do you find the height of a binary tree?
Differentiate between hashmap and hashtable.
How many parts are there in a declaration statement using data structures?
What is declaring array?
What do you mean by shortest path?