import java.io.*; import java.util.*; public class Person{ private String name; private Turtle turtle; public Person(String AName) { name = AName; } public void setTurtle(Turtle t){ turtle = t; } public Turtle getPet() { return turtle; } public int getTurtleSpeed() { return turtle.getSpeed(); } }