Answer Posted / sabu
object oriented programming scenario
Is This Answer Correct ? | 4 Yes | 18 No |
Post New Answer View All Answers
When not to use object oriented programming?
What is the important feature of inheritance?
Is data hiding and abstraction same?
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.
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 oops concept with example?
What exactly is polymorphism?
What are the important components of cohesion?
What is overloading in oop?
Can a varargs method be overloaded?
What are two types of polymorphism?
What are the data types in oop?
What is protected in oop?
What is coupling in oop?
Why do we use inheritance?