What Is Polymorphism in C++ ?
Answers were Sorted based on User's Feedback
Polymorphism in C++ means, the same entity (function or object) behaves differently in different scenarios. Consider this example: The “ +” operator in c++ can perform two specific functions at two different scenarios i.e when the “+” operator is used in numbers, it performs addition.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
An object-oriented programming concept called polymorphism enables a function or object to act differently depending on the situation. Polymorphism in C++ can be called at compile time or at runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are Agilent PRECOMPILERS?
What's the value of the expression 5["abxdef"]?
What is the difference between public, private, and protected inheritance?
Implement a 2D bit-matrix representing monochrome pixels which will have only OFF/ON values and will take on an average only one bit of memory for each stored bit. How to perform various operations on it?
What does it mean to declare a member function as static in C++?
How to input string in C++
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
Identify the error in the following program. #include<iostream.h> void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }
What is Advantage and Use of THIS pointer in C++ – Scenarios?
Write a C++ Program to find Addition of Two Numbers.
What is Coupling?