Answer Posted / khadeer.k
virtual constructors are used when we need to avoid the
copy same. desructor frees the memory with a ~(tilde) symbol
| Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
What is polymorphism used for?
What is the main purpose of inheritance law?
Can private class be inherited?
Which language is not a true object oriented programming language?
What is balance factor?
What is encapsulation selenium?
what's the basic's in dot net
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.
how to get the oracle certification? send me the answer
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is destructor example?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is overloading and its types?
Why we use classes in oop?
which feature are not hold visual basic of oop?