Create catDog.java