Person getName name setName getAge age staGe getGender Figure 2.7: Providing gender methods to access the attributes of person setGende C 2003 Brooks/Cole Publishing/ thomson LearningTM 1616 © 2003 Brooks/Cole Publishing / Thomson Learning™ Figure 2.7: Providing methods to access the attributes of Person