6. A(n) ______________ method gets the value of a data attribute but does not change
it.
a. retriever
b. constructor
c. mutator
d. accessor
The correct option is d.accessor.
An accessor method gets the value of a data attribute but does not change it.
Reason: