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


Please Help Members By Posting Answers For Below Questions

What are the types of abstraction?

781


what is difference between class template and template class?

2405


What are the 4 pillars of oop?

892


Give two or more real cenario of virtual function and vertual object

2079


Write a program to reverse a string using recursive function?

2031


Plese get me a perfect C++ program for railway/airway reservation with all details.

3661


What is the difference between a constructor and a destructor?

858


Why is object oriented programming so hard?

833


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4343


What type of loop is a for loop?

865


What is object and example?

881


What is oops and its features?

834


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.

929


Can private class be inherited?

909


Why interface is used?

753