Answer Posted / preetha
the function overloading is the technique in which you can make the function with more than one name but only if you will change the paramaters or the number of the paramaters.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation selenium?
What do you mean by abstraction?
State what is encapsulation and friend function?
Do you know about multiple inheritance?
What is a class in oop?
Can main method override?
What is difference between polymorphism and inheritance?
Why we use classes in oop?
class type to basic type conversion
What are the benefits of oop?
What is the difference between a constructor and a destructor?
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.
Whats is abstraction in oops?
What is the difference between inheritance and polymorphism?
Why do we use class?