Answer Posted / guest
Object Oriented Programming
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Give two or more real cenario of virtual function and vertual object
How do you achieve polymorphism?
What is polymorphism what is it for and how is it used?
Why is polymorphism needed?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is for loop and its syntax?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Write a program to reverse a string using recursive function?
Explain the advantages of inheritance.
What is overriding in oops?
What is abstraction with example?
What is polymorphism give a real life 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 cohesion in oop?
How do you define a class in oop?