Answer Posted / venkatesh
Class is a user defined datatype, and it is a logical representation of data(means which does not occupy any space)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Give two or more real cenario of virtual function and vertual object
What is destructor oops?
What is the use of oops?
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?
What is byval and byref? What are differences between them?
What is polymorphism programming?
What are constructors in oop?
Advantage and disadvantage of routing in telecom sector
Write a program to sort the number with different sorts in one program ??
what is the sylabus for priliminaries?
#include
What is polymorphism explain its types?
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 do we need oop?
How Do you Code Composition and Aggregation in C++ ?