Please enable JavaScript to use CodeHS

AP Computer Science A (Nitro)

Lesson 5.5 Mutator Methods

Description

In this lesson, students will examine mutator methods in more detail. Mutator methods are often void methods used to change the value of instance and static variables. This lesson corresponds with AP Computer Science A topic 5.5.


Objective

Students will be able to:

  • Define behaviors of an object through void methods with or without parameters written in a class