Name a typical usage of polymorphism

Answer Posted / brunda r

Polymorphism plays a very important role in allowing objects
having different internal structures to share the same
external interface.Its Its extensively used in implementing
inheritance.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1639


Why do pointers exist?

659


What is the difference between static polymorphism and dynamic polymorphism?

584


write knight tour problem which is present in datastructure

2164


What is encapsulation oop?

576






Which language is not a true object oriented programming language?

642


What is a superclass in oop?

669


What is the importance of oop?

611


What is multilevel inheritance?

727


How do you define social class?

600


Can bst contain duplicates?

668


c++ program to swap the objects of two different classes

1763


What type of loop is a for loop?

682


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1895


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6485