Answer Posted / p suresh kumar
It is a non-member function, but having access to class
members.
| Is This Answer Correct ? | 49 Yes | 5 No |
Post New Answer View All Answers
can inline function declare in private part of class?
What is overriding in oop?
What is static modifier?
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 is encapsulation used?
Is data hiding and abstraction same?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is and I oop mean?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What does and I oop mean?
What is interface in oop?
What does and I oop mean in text?
What is multilevel inheritance explain with example?
Can we create object of interface?