Answer Posted / mosin
only one base class with derived to only one derived class
| Is This Answer Correct ? | 33 Yes | 11 No |
Post New Answer View All Answers
What is destructor give example?
Are polymorphisms mutations?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Why is oop useful?
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 type of questions
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why is there no multiple inheritance?
Why do pointers exist?
Why do we use class?
Which is better struts or spring?
Where is pseudocode used?
What are the important components of cohesion?
is there any choice in opting subjects like 4 out of 7
What are oops methods?