what is the use of mutable key word

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


Please Help Members By Posting Answers For Below Questions

What are the important components of cohesion?

561


What is the difference between static polymorphism and dynamic polymorphism?

587


What is data binding in oops?

594


What is the oops and benefits of oops programming?

562


What is the real time example of encapsulation?

604






given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2155


write string class as your own class in java without using any built-in function

1984


Which language is pure oop?

558


What is oops in programming?

572


Why is oop useful?

608


any one please tell me the purpose of operator overloading

1976


What is meant by multiple inheritance?

744


What is polymorphism and example?

598


What is polymorphism what is it for and how is it used?

580


What is this pointer in oop?

565