Multiple choice technology programming languages

Methods that work on the data are called accessor methods.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Accessor methods (also called getters) are methods that retrieve or return data without modifying it. They 'access' the object's state. This is the correct terminology - methods that modify data are called mutators or setters.