What are the OOPS concepts?
Answer Posted / satya
objects
interface
polymorphism
inheritence
constructors
encapsulation
Is This Answer Correct ? | 369 Yes | 220 No |
Post New Answer View All Answers
What is cohesion in oop?
what type of questions
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is basic concept of oop?
What is interface in oop?
Can bst contain duplicates?
What is the real life example of polymorphism?
Are polymorphisms mutations?
#include
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.
How is polymorphism achieved?
What is polymorphism used for?
What are constructors in oop?
Where You Can Use Interface in your Project
Why do we use class?