@@ -0,0 +1,1178 @@
+public class Dog extends Mammal %7B%0A    // Attributes will range from 0-100%0A  private int hunger;%0A  private int fun;%0A  private int cleanliness;%0A  private int loyalty; // should always stay at 100 -%3E Dogs are loyal%0A  %0A  public Dog (String name, double weight, char gender) %7B%0A    super(name,weight,gender); // Call super class constructor%0A%09  %0A%09  // Some default values%0A    hunger = 50;%0A%09fun = 50;%0A    cleanliness = 50;%0A%09loyalty = 100;%0A  %7D%0A  %0A  // Provide setters:%0A  public void setHunger(int h) %7B %0A%09if (h %3E= 0 && h %3C= 100)%0A      hunger = h;%0A  %7D%0A  %0A  public void setFun(int f) %7B%0A  if (f %3E= 0 && f %3C= 100)%0A    fun = f;%09 %0A  %7D%0A  %0A  public void setCleanliness(int c) %7B%0A  if (c %3E= 0 && c %3C= 100)%0A    cleanliness = c;%0A  %7D%0A  %0A  // Thou cannot change a dog's loyalty%0A  %0A  // Provide getters:%0A  public int getHunger() %7B%0A    return hunger;%0A  %7D%0A  %0A  public int getFun() %7B%0A    return fun;%0A  %7D%0A  %0A  public int getCleanliness() %7B%0A    return cleanliness;%0A  %7D%0A  %0A  public int getLoyalty() %7B%0A    return loyalty;%0A  %7D%0A  %0A  @Override%0A  public String toString() %7B%0A    return super.toString() + %22 hunger: %22 + hunger + %22 fun: %22 + fun + %0A      %22 cleanliness: %22 + cleanliness + %22 loyalty: %22 + loyalty;%0A  %7D%0A%7D%0A

Add Dog.java