What are the OOPS concepts?
Answer Posted / prasad
The concepts of OOPs are
Objects
Data abstraction
Data Encapsulation
Inheritance
Overloading
Polymorphism
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why polymorphism is used in oops?
What is debug class?what is trace class? What differences are between them? With examples.
write a program to find 2^n+1 ?
Templates mean
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 do we use oops?
Why do pointers exist?
What are the 4 pillars of oop?
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?
What is polymorphism and types?
What does it mean when someone says I oop?
What is encapsulation with real life example?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< How do you define a class in oop?