setYear method

void setYear(
  1. int x
)

Implementation

void setYear(int x) {
  year = x;
}