What is polymorphism explain?
Answer / Jabar Singh
Polymorphism allows objects of different classes to be treated as objects of a common parent class. This means that functions or methods can perform differently depending on the object they are acting upon, and it provides flexibility in code reuse.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
Why many objects can working together? How objects working togetherM I want to see example code.
Why do we use class?
What is a macro? And how is a macro same as a template?
WHY FUCTION OVERLOADING DOSENOT RETURN A RETEN TYPE
What is constructor overloading in oop?
What is function overloading and operator overloading?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
IN PROGRAMING LANGAUGE A C++ IS PURELY OBJECT ORIENTED OR NOT?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
Whats oop mean?