💻ap computer science a review

Mutators Methods

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

Mutator methods, also known as setter methods, are special types of methods in object-oriented programming that are used to modify the values of instance variables. They are typically named with a 'set' prefix followed by the name of the variable they modify.

"Mutators Methods" also found in:

2,589 studying →