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

How can you represent a linked list node?

554


Is bubble sort adaptive?

518


List the data structures which are used in rdbms, network data modal, and hierarchical data model.

518


Mention the advantages of representing stacks using linked lists than arrays?

492


What is a string array?

510






Does treemap allow null key?

482


What should be done in the base case for this recursive problem?

506


Can we add duplicate keys in a hashmap? What will happen if we attempt to add duplicate values?

479


What is the relationship between a queue and its underlying array?

713


An array having 100 elements have numbers from 1 to 99 randomly out of which any number is repeated. Find the repeated number in minimum time and space complexity.

699


Is hashmap an object?

499


What is impact of signed numbers on the memory using data structures?

563


What is the difference between data type and data structure?

462


What are the difference between malloc() and calloc()?

560


Briefly explain recursive algorithm?

630