Class PetFactory


  • public abstract class PetFactory
    extends Object
    • Method Detail

      • createPet

        public static Pet createPet()
      • createPet

        public static Pet createPet​(String name)