Answer Posted / saranya
a class can have more than one method with same function
name but different in parameter passing is said to be
method overloading
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism explain?
Is react oop?
Why do we need oop?
Why multiple inheritance is not allowed?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Are polymorphisms mutations?
What is overriding vs overloading?
What is polymorphism and types?
What are the 5 oop principles?
How oops is better than procedural?
What is abstraction with example?
What is static in oop?
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.
Is oop better than procedural?
What language is oop?