public class Dog extends Animal { public void Eat() { System.out.println(this.getName()+"はドッグフードを食べました。"); } }