Answer Posted / hima bindu
an instance of a class is called an object...
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Why is polymorphism used?
Why it is called runtime polymorphism?
What is destructor in oop?
What are the types of abstraction?
What is static in oop?
What is pure oop?
Can we create object of interface?
What is the importance of oop?
What is difference between inheritance and polymorphism?
How do you answer polymorphism?
Why is encapsulation used?
What is abstraction with example?
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 encapsulation example?
Why is polymorphism needed?