import myObject.Animal;
import myObject.Cat;
import myObject.Dog;

public class Java18 {
    public static void main(String[] args) {

//        Dog dog = new Dog();
//        Cat cat = new Cat();

        Animal dog = new Dog();
        Animal cat = new Cat();

        dog.eat();
        cat.eat();
    }
}
