Answer Posted / solanki
Abstraction is thing which you directly not use.
like as in motor making all spare aprart are come from
differnt class which all are combined in one motor class
where we use it.
we direclty not use any only one think as tyre or petrol
for use it we want to combine that all.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is overriding in oop?
What is difference between polymorphism and inheritance?
What is class encapsulation?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Why polymorphism is used in oops?
Why do we use encapsulation in oops?
What is difference between oop and pop?
What are the data types in oop?
What is an example of genetic polymorphism?
What is an advantage of polymorphism?
officer say me - i am offered to a smoking , then what can you say
What is balance factor?
Write a program to reverse a string using recursive function?
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.