Answer Posted / ramakant
This keyword can only be applied to non-static and non-
const data members of a class. If a data member is declared
mutable, then it is legal to assign a value to this data
member from a const member function.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
program for insertion ,deletion,sorting in double link list
Write a c++ program to display pass and fail for three student using static member function
Why do we need polymorphism in c#?
What is polymorphism oop?
What is encapsulation in simple terms?
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 are objects in oop?
What is object in oop with example?
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 are the desirable attributes for memory managment?
What is overriding in oop?
What is overloading in oops?
What is polymorphism what is it for and how is it used?
Write a program to reverse a string using recursive function?
Plese get me a perfect C++ program for railway/airway reservation with all details.