Which is the only operator in C++ which can be overloaded
but NOT inherited?
Answer Posted / abcd
Ok I think instead of 5 same answers Someone should explain
why it is designed liek this?
Why it can not be inherited?
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is abstraction and encapsulation?
What does enum stand for?
Why do while loop is used?
What is multilevel inheritance in oop?
What is for loop and its syntax?
Why is oop useful?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is polymorphism give a real life example?
What are the features of oop?
What does I oop mean?
What are the benefits of oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout<
Why is static class not inherited?
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 object oriented programming so hard?