@@ -0,0 +1,466 @@
+public abstract class Mammal %7B // Not intended to be instantiated as is%0A  protected String name; // Subclass can access directly%0A  private double weight;%0A  private char gender; // 'f' is female; 'm' is male or 'M' %0A  %0A  public Mammal (String n, double w, char g) %7B%0A    name = n;%0A    weight = w;%0A    gender = g;%0A  %7D%0A  %0A  @Override %0A  public String toString() %7B%0A    return super.toString() + %22 name: %22 + name + %22 weight: %22 + weight +%0A      %22 gender: %22 + gender;%0A  %7D%0A%7D%0A

Add Mammal.java