setSex method

void setSex(
  1. String s
)

Assigns the argument s to sex

Implementation

void setSex(String s){
  sex = s;
}