Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous

What is the importance of mutable keyword?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • It allows the data member to change within a const member function

Related Computer Questions

Which of the following is used with the switch statement? What will be the output of the following Python code snippet? x=3.3456789 '%f | %e | %g' %(x, x, x) In R, which package provides tools for working with HDF5 files? What is the output of the given code? print "What's your first name?" first_name=gets.chomp a=first_name.capitalize a=a.reverse puts"My name is #{a}" What will be the output of the following Java program? class A { int i; void display() { System.out.println(i); } } class B extends A { int j; void display() { System.out.println(j); } } class inheritance_demo { public static void main(String args[]) { B obj = new B(); obj.i=1; obj.j=2; obj.display(); } }