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
Tell me the difference between the character array and a string.
Define an algorithm. What are the types of algorithms?
What is queue in data structure?
Can we add elements to final list?
What is the difference between a push and a pop?
If you do not initialize an array what will happen?
What is subtree?
What is copyonwritearraylist?
What’s the difference between enumeration and iterator interfaces?
Explain the term recursive case?
Explain the uses of binary tree.
Describe tree database. Explain its common uses.
Give a real time example of stack
Differentiate between collection and collections.
What is data structures in computer science?