Answer Posted / kumar vishal
In general a class is a group of objects. for example
mango,apple, banana, grapes etc. is a group of fruits.
But in oops concept, a class is a collection of member data
and member function.
Is This Answer Correct ? | 22 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.
Who invented oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Give two or more real cenario of virtual function and vertual object
What is inheritance in oop?
What is overriding vs overloading?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
When not to use object oriented programming?
What is the full form of oops?
Explain virtual inheritance?
What are the benefits of interface?
Is oop better than procedural?
Why do we use oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What are the features of oop?