We are going to develop a program that will handle a Golfer and his .docx

This preview shows page 1 - 3 out of 6 pages.

We are going to develop a program that will handle a Golfer and his scores. The program will be comprised of three classes: a Golfer class that will manage all the golfer's scores, a Score class and a Tester class to drive the other classes. To accomplish this task the program will use a partially filled array to store the golfer s scores. The Golfer Class This is a class designed to represent a golfer including his name, home course, id number and an Array of Score Objects. The golfers scores consist of several pieces of information include the course, the par score for the course, the courses rating and course slope, date score was shot and the score. Each field is explained in detail below. Remember part of being a strong programmer is being flexible enough to learn about new domains, youdon't have to be a golfer or a doctor or a banker to write application in those domains. Instance Variables. name - A String representing the golfer's name

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture