setName method

void setName (
  1. String name
)

Implementation

void setName(String name) {
  this.name = name;
}