What Is Polymorphism in C++ ?

Answer Posted / nashiinformaticssolutions

An object-oriented programming concept called polymorphism enables a function or object to act differently depending on the situation. Polymorphism in C++ can be called at compile time or at runtime.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the two main roles of operating system?

720


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

808


Explain what happens when an exception is thrown in C++.

704


Can you use the function fprintf() to display the output on the screen?

937


Who invented turbo c++?

831


Can we use this pointer in a class specific, operator-overloading function for new operator?

822


Do you know the problem with overriding functions?

798


Write a program which employs Recursion

981


How would you use qsort() function to sort an array of structures?

904


What is null and void pointer?

796


What is constant keyword in C++? Illustrate its various uses.

748


Can we provide one default constructor for our class?

433


What is polymorphism explain?

956


What is the purpose of template?

819


How a new element can be added or pushed in a stack?

781