Answer Posted / arun
Wrapping up of data and methods in to a single entity is known as encapsulation
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are oops functions?
can inline function declare in private part of class?
Why is polymorphism needed?
Why polymorphism is used in oops?
What is difference between oop and pop?
What do you mean by abstraction?
What is balance factor?
What is destructor in oop?
class type to basic type conversion
What is multilevel inheritance in oop?
what is graphics
What do you mean by Encapsulation?
Why multiple inheritance is not allowed?
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.