Answer Posted / prashant
java is a not oopl
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
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 the use of oops?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is a null tree?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
what type of questions
What is object in oop?
How Do you Code Composition and Aggregation in C++ ?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is the example of polymorphism?
Why we use classes in oop?
What is the difference between inheritance and polymorphism?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is property in oops?
Write a program to sort the number with different sorts in one program ??