what is the use of mutable key word
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sanjay makwana
allow to constant function in member variable
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / muthuveera
Its allows the Constant function in member variable
Is This Answer Correct ? | 0 Yes | 0 No |
polymorphism means?
What is encapsulation in simple terms?
What is public, protected, private?
What is virtual Function.
Differences between inline functions and non-inline functions?
diff between Abstract class Interfaces?
What is the difference between pass by reference and pass by value?
What is the difference between an object and a class?
1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory??
What is overloading in oops?
Which is the only operator in C++ which can be overloaded but NOT inherited?