OOP'S advantages of inheritance include:
Answer / karthiga
1)provide a conceptual framework
2)avoid rewriting code
3)facilitating class libraries
4)all of these
Is This Answer Correct ? | 144 Yes | 19 No |
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.
What is public, protected, private?
what is SPL in c++.
In which Scenario you will go for Interface or Abstract Class?
1 Answers InfoAxon Technologies,
What makes a language oop?
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
What is the advantage of oop over procedural language?
How to calculate the age from the date of birth by using the program?
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
What is virtual Function.
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123
What is the differances between a abstract calss and interface