A.Cat cat=new Animal();
B.PetCat cat=new Animal();
C.Animal animal=new PetCat();
D.PetCat cat=new Cat();