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 could allow them to be changed by code outside the method?
A) accessor
B) mutator
C) setter
D) class
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q18: Which attributes belong to a specific instance
Q19: Which section in the UML holds the
Q20: The self parameter need not be named
Q21: In a UML diagram the first section
Q22: Which method is automatically executed when an
Q24: Which method is automatically called when you
Q25: _ programming is a method of writing
Q26: A(n)_ method in a class initializes an
Q27: In _ programming,the programming is centered on
Q28: The self parameter is required in every