Hi

what are mutator and accessor methods and what is the difference

Mutators change the values of instance variables while accessors extract the values of same.