Answer Posted / ssss
When ever object is created.
| Is This Answer Correct ? | 27 Yes | 2 No |
Post New Answer View All Answers
What is the renewal class?
what type of question are asked in thoughtworks pair programming round ?
What is class and object with example?
State what is encapsulation and friend function?
What do you mean by overloading?
What does oop mean in snapchat?
What is the important feature of inheritance?
#include
What is the real time example of encapsulation?
What is the diamond problem in inheritance?
What are the components of marker interface?
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.
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
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
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?