Multiple Choice
What type of method provides a safe way for code outside a class to retrieve the values of attributes, without exposing the attributes in a way that they could be changed by the code outside the method?
A) Accessor
B) Mutator
C) Setter
D) Class
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q17: _ provides a set of standard diagrams
Q21: When a method is called, what does
Q22: What type of programming contains class definitions?<br>A)
Q25: What does the acronym UML stand for?<br>A)
Q27: A(n) _ is a set of real-world
Q28: The self parameter is required in every
Q28: What is, conceptually, a self-contained unit that
Q29: A class definition is stored in the
Q30: The instances of a class share the
Q30: Object-oriented programming allows us to hide the