What are the OOPS concepts?
Answer Posted / md zakaullah
BASIC 4 CONCEPTS OF OOPS:
1. DATA ABSTRACTION
2. DATA ENCAPSULATION
3. INHERITANCE
4. POLYMORPHISM
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of abstraction?
what is difference between class template and template class?
What are the 4 pillars of oop?
Give two or more real cenario of virtual function and vertual object
Write a program to reverse a string using recursive function?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is the difference between a constructor and a destructor?
Why is object oriented programming so hard?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What type of loop is a for loop?
What is object and example?
What is oops and its features?
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.
Can private class be inherited?
Why interface is used?