import java.awt.Color; public class Male extends Human { // OVERVIEW: A Male is a subtype of the Human class. Male represent // three age categories: baby, adult, and senior (representing a specific // age and color: blue, green, and gray, respectively. public Male() { this(1); } public Male(int ageM) { super(ageM); inTurn = false; } public Color getNaturalColor() // Effects: Returns color depending upon the state of this. { if (age <= 5) { return Color.blue; } else if (age <= 15) { return Color.green; } else { return Color.gray; } } public int getGender() { //Effects: Returns the gender of this. return genderM; } }