Tell me real world example of polymorphism and encapsulation .

Answer Posted / shashank

polymorphism real life example:
a software engineer performs many task such as sometimes he performs coding, sometimes he performs testing, sometimes he performs analyzing. so software eng. is one but he is performing different task depending upon time.

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the complexity of bubble sort?

470


What is a pass in bubble sort?

460


How does a selection sort work?

468


Why do we need sorting algorithms?

484


Can value be null in treemap?

486






What is data type with example?

488


How do hash tables work?

483


Write an algorithm for inserting and deleting an element from doubly linked list?

480


Program to remove duplicate elements in an array.

514


Why quicksort is faster than merge sort?

467


What are the disadvantages of circular list?

476


what is the difference between dynamic as well as non - dynamic data structures.

497


What are skew trees? For a tree with 4 nodes draw all possible binary? Generalize for n nodes how many binary trees can be drawn?

608


How are elements stored in hashset?

448


Define a queue?

539