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

What is c++ similar to?

835


Difference between pass by value and pass by reference?

838


Explain the register storage classes in c++.

882


Explain the difference between class and struct in c++?

791


Explain virtual class and friend class.

793


What are shallow and deep copies?

843


Difference between inline functions and macros?

764


Is python written in c or c++?

854


Where do I find the current c or c++ standard documents?

822


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3624


Can member data be public?

772


Why do we use using namespace std in c++?

801


Are there interfaces in c++?

742


What is flush c++?

716


What is the difference between interpreters and compilers?

837