C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 14)
14.
How many types of polymorphisms are supported by C++?
Answer: Option
Explanation:
The two main types of polymorphism are run-time (implemented as inheritance and virtual functions), and compile-time (implemented as templates).
Discussion:
20 comments Page 2 of 2.
AgileGroup said:
1 decade ago
1)Complie time Polymorphism : -
a) Function Overloading
b) Operator Overloading
2) Run-time Polymorphism : -
a) Virtual Functions
a) Function Overloading
b) Operator Overloading
2) Run-time Polymorphism : -
a) Virtual Functions
SankararaoMajji said:
1 decade ago
Compile time polymorphism
- function and operator overloading
- Templates
Run time polymorphism
- function over riding
- function and operator overloading
- Templates
Run time polymorphism
- function over riding
Amol matre said:
1 decade ago
C++ support two types of polymorphism first one is compile time polymorphism and second one is run time polymorphism.
Suri said:
9 years ago
Thanks for the explanation of the answers.
Please give more example for this.
Please give more example for this.
Raghav said:
1 decade ago
1st is Compile Time Polymorphism and Another is Run Time Polymorphism.
M.R.R said:
1 decade ago
There are two types
1. Operator overloading
2. Function overloading
1. Operator overloading
2. Function overloading
Hema priya said:
1 decade ago
1) Run time polymorphism.
2) Compile time polymorphism.
2) Compile time polymorphism.
Abhishek said:
1 decade ago
Run time polymorphism & Compile time polymorphism.
Logi said:
9 years ago
Thanks for the answers with clear explanation.
PEEYUSH said:
1 decade ago
1.Static polymorphism
2.Dynamic polymorphism
2.Dynamic polymorphism
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers