Class GolfingExample.Golfer

    • Constructor Detail

      • Golfer

        public Golfer()
      • Golfer

        public Golfer​(String name,
                      String color,
                      int position)
    • Method Detail

      • getColor

        public String getColor()
        Returns:
        the color
      • getName

        public String getName()
        Returns:
        the name
      • getPosition

        public int getPosition()
        Returns:
        the name