What are the different types of polymorphism?

Answer Posted / dee

compile time--->operator and function overlaoding
run time --->virtual

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define 'std'.

610


Why do we need constructors in c++?

619


Is c or c++ more useful?

579


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

726


State two differences between C and C++.

610






What is general format for a prototype?

599


What is c++ & why it is used?

592


How to declare an array of pointers to integer?

585


What is a try block?

640


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

590


What is the real purpose of class – to export data?

618


What is null and void pointer?

597


What is c++ manipulator?

555


How do you generate a random number in c++?

606


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

691