Answer Posted / prabhati
polymorphism allows the usage of same operators or functions
in different ways. eg: 7+3 is used for addition
"poly"+"morphism" is used for
concatenating these two words
types of polymorphism:
virtual functions
operator overloading
function overloading
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Can a varargs method be overloaded?
What is difference between inheritance and polymorphism?
What is encapsulation with example?
What is multilevel inheritance explain with example?
What are main features of oop?
write knight tour problem which is present in datastructure
What is polymorphism programming?
Can we create object of interface?
What is polymorphism what are the different types of polymorphism?
What is abstract class in oops?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
How many human genes are polymorphic?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is oops and why we use oops?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?