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 |
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,
what is data abstraction with example.
Can you name some types of inheritance?
Can java compiler skips any statement during compilation time?
What is static in oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
difine hierarchical inheritance.
Difference between vector and array
what is the difference between class to class type conversion and copy constructor ?
What is polymorphism ? Explain with examples
What is methods in oop?
Advantage and disadvantage of routing in telecom sector