Tell me real world example of polymorphism and encapsulation .
Answer Posted / sharuq
polymorphism..
take a boy. at home he is a son and at school he is student
encapsulation..
take a car we can see only body of the car but not engine
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the method to find the complexity of an algorithm?
What is stable sort example?
Explain multiply linked list in short.
What are different methods of collision resolution in hashing.
What are the types of bulleted list?
Should I use hashmap or hashtable?
What do you mean by breadth first search (bfs)?
Data structure used to implement a menu
Why is hashmap faster?
List out the advantages of using a linked list?
Define a linear and non linear data structure.
What are the main differences between the linked list and linear array?
What is stack explain with diagram?
How do arrays work?
How do you find the index of an element in an arraylist?