IT 114: Introduction to Java
Answers to Class 27 Ungraded Quiz

  1. Does a method need a parameter to access the fields of it's object?
  2. What do you call a method that changes the values of it's object's fields?
    a mutator or setter
  3. What do you call a method that returns the value of a field in the object?
    accessor or getter
  4. What do you call the process of making a series of small changes in code to produce more readable or efficient code?
    refactoring