Commit 7879f847 authored by a-j.towse's avatar a-j.towse

all classes added and working

parent f6c3b5c9
public class Reptile extends Animal{
public Reptile(){
super();
}
public Reptile(String name, String description, String environment, String foodType, Double weight, Double length){
super(name,description,environment,foodType);
addDetail("Weight: "+weight.toString());
addDetail("Length: "+length.toString());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment