Class DogFactory


  • public abstract class DogFactory
    extends java.lang.Object
    • Method Detail

      • createDog

        public static Dog createDog()
      • createDog

        public static Dog createDog​(java.lang.String name)
      • createDog

        public static Dog createDog​(DogBreed breed)