What are the OOPS concepts?
Answer Posted / anurudh singh
These Are Four Main OOPS Concepts::-->>
1.Polymorphism
2.Inheritence
3.Abstract
4.Encapsulation
| Is This Answer Correct ? | 133 Yes | 31 No |
Post New Answer View All Answers
Write a program to reverse a string using recursive function?
#include
How do you define social class?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is the real time example of inheritance?
What is the difference between a mixin and inheritance?
What is constructor overloading in oop?
What is destructor example?
What is the real time example of encapsulation?
What is an example of genetic polymorphism?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is polymorphism used for?
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.
what is the drawback of classical methods in oops?
What is the point of oop?