What are different types of polymorphism supported by C++

Answer Posted / minakshi

runtime polymorphism
1.function overloading
2,operator overloading
compile time
1.virtual function

Is This Answer Correct ?    7 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the sequence of destruction of local objects?

632


What is a constructor and how is it called?

692


Which programming language is best to learn first?

684


What is pointer -to-members in C++? Give their syntax?

688


What is object file? How can you access object file?

686






What is the need of a destructor?

742


What is pair in c++?

710


What are single and multiple inheritances in c++?

667


What are the main features of c++?

639


How can we read/write Structures from/to data files?

710


Differentiate between an external iterator and an internal iterator?

661


What is a .lib file in c++?

645


Write syntax to define friend functions in C++.

702


Why was c++ made?

750


What are the defining traits of an object-oriented language?

790