Answer Posted / navneet kaur
combining data and data members is encapsulation.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is constructor overloading in oop?
What is destructor in oop?
Whats is abstraction in oops?
What is debug class?what is trace class? What differences are between them? With examples.
what are the ways in which a constructors can be called?
What is difference between abstraction and encapsulation?
How do you use inheritance in unity?
c++ program to swap the objects of two different classes
Is data hiding and abstraction same?
What is encapsulation example?
What does and I oop mean in text?
What are functions in oop?
What does and I oop mean?
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.
Why oops is important?