What are the OOPS concepts?
Answer Posted / ajay kumar(me-se-tu)
OOPs define software as a collection of discrete oblects
that specify both data structure and behavior. OOPs
Identify following aspects:
Data abstraction, Inheritence, Polymorphism, Encapsulation
(information hiding)etc.
Is This Answer Correct ? | 210 Yes | 78 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.
Why is polymorphism used?
What do you mean by overloading?
what are the realtime excercises in C++?
Why is destructor used?
What is constructor in oop?
How do you explain polymorphism?
what is difference between class template and template class?
What is new keyword in oops?
What are the components of marker interface?
What is encapsulation oop?
What is class and object in oops?
any one please tell me the purpose of operator overloading
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are the three main types of variables?