Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 3 (Q.No. 16)
16.
Functions that returns information about an object's state can be classified as ________
inspector functions
mutator functions
auxiliary functions
manager functions
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Chetali said:   3 years ago
- An object's state is returned without modifying the object's abstract state by using a function called inspector. Invoking an inspector does not cause any noticeable change in the object's behavior of any of the functions of that object.

- A mutator, on the other hand, changes the state of an object which is noticeable by outsiders. It means, it changes the abstract state of the object.

Waqas said:   8 years ago
The get() functions are usually referred to as inspectors as that just retrieve the data values from the source.

Post your comments here:

Your comments will be displayed after verification.