Answer Posted / karthi
it can access private and public member function
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
What are the advantages of polymorphism?
What is a null tree?
What is abstraction with example?
What is the main feature of oop?
Can we create object of interface?
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
What is polymorphism oop?
What is the use of oops?
What is destructor example?
what are the realtime excercises in C++?
what are the different types of qualifier in java?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is abstraction in oop?
Why do we need oop?
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.