C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 18)
18.
Which of the following correctly describes overloading of functions?
Discussion:
36 comments Page 2 of 4.
Lovish said:
9 years ago
These polymorphisms also go by different names in C++,
- Subtype polymorphism is also known as runtime polymorphism.
- Parametric polymorphism is also known as compile-time polymorphism.
- Ad-hoc polymorphism is also known as overloading.
- Coercion is also known as (implicit or explicit) casting.
- Subtype polymorphism is also known as runtime polymorphism.
- Parametric polymorphism is also known as compile-time polymorphism.
- Ad-hoc polymorphism is also known as overloading.
- Coercion is also known as (implicit or explicit) casting.
Rubini said:
10 years ago
Coercion polymorphism happens when an object or a primitive is cast into another object type or primitive type.
Jasmine said:
10 years ago
Ab-hoc polymorphism is also a operator overloading or not?
Chaitali said:
1 decade ago
What is Ab-hoc polymorphism concept?
Govindarajan said:
1 decade ago
Pseudo Polymorphism is function overriding in derived class.
Vishal said:
1 decade ago
As polymorphism has of 2 types, then ad-hoc polymorphism, pseudo polymorphism, Transient polymorphism work at compile time or run time ?
Saksham said:
1 decade ago
I am unable to find any material related to pseudo polymorphism(no definition, nothing at all). Any help would be greatly appreciated.
Ankita said:
1 decade ago
Ad hoc polymorphism is also known as operator overloading.
Ad hoc polymorphism is a specific case of polymorphism, where different operators have different implementations depending on their arguments.
Ad hoc polymorphism is a specific case of polymorphism, where different operators have different implementations depending on their arguments.
Snehal said:
1 decade ago
What is the exact means of ad-hoc polymorphism?
Gopal said:
1 decade ago
Ad-hoc means compiled time polymorphism in which two things operator and function overloading means same name different argument at time or different work.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers