Class DogFactory


  • public abstract class DogFactory
    extends Object
    • Method Detail

      • createDog

        public static Dog createDog()
      • createDog

        public static Dog createDog​(String name)
      • createDog

        public static Dog createDog​(DogBreed breed)