Answer Posted / sandhya.v
When u overload a nonstatic member with single parameter
or nonmember with more than one parameter with the same
name ..
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the difference between inheritance and polymorphism?
What is constructor in oop?
What is inheritance in oop?
What does and I oop mean?
write a C++ program for booking using constructor and destructor.
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.
explain sub-type and sub class? atleast u have differ it into 4 points?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What does it mean when someone says I oop?
What is polymorphism and why is it important?
What is polymorphism what is it for and how is it used?
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.
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
How do you answer polymorphism?
Can we create object of interface?