What are different types of polymorphism supported by C++

Answers were Sorted based on User's Feedback



What are different types of polymorphism supported by C++..

Answer / ammu

polymorphism occurs in 2 levels one at compile time and
another at run time
compile time polymorphism includes function overloading and
operator overloading
run time polymorphism includes virtual function

Is This Answer Correct ?    22 Yes 3 No

What are different types of polymorphism supported by C++..

Answer / 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

More C++ General Interview Questions

What is #include iostream h in c++?

0 Answers  


why can't we declare data member of class auto register or extern

1 Answers  


What are compilers in c++?

0 Answers  


What is the best way to declare and define global variables?

0 Answers  


Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

0 Answers  






What is a namespace in c++?

0 Answers  


What is main function in c++ with example?

0 Answers  


What is iterator in c++?

0 Answers  


Why do we need templates?

0 Answers  


How do you allocate and deallocate memory in C++?

1 Answers  


What does std mean in c++?

0 Answers  


Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1 Answers  


Categories