๐Ÿ’ปap computer science a review

Mutator Method

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

A mutator method, also known as a setter method, is a type of method in object-oriented programming that is responsible for modifying the value of an object's attribute.

"Mutator Method" also found in: