Project Outcomes Develop a Java program that uses decision c.docx

This preview shows page 1 - 5 out of 9 pages.

Project Outcomes: Develop a Java program that uses: < >decision constructslooping constructsbasic operations on an Array of objects (find, change, access all elements)more than one class and has multiple objectsstatic variables Prep Readings: Absolute Java textbook, Chapters 1 - 6. Project Requirements: < >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 John Smith ID number: 1234 Home Course: Bay Hill CC Score Date Course Course Rating Course Slope 75 6/3/12 Bay Hill CC 69.5 123 77 7/23/12 AC Read 70.4 128 Golfer -name:String -homeCourse:String -idNum:int -scores:Score[ ] + Golfer() + Golfer(String,String)
+ getName():String + getHomeCourse():String + getIDNum():int + setName(String) + setHomeCourse(String) + setIDNum() + addScore(String,int, double, int, String) + deleteScore(String):boolean + getScore(String):Score + findScore(String):int + toString():String NOTE: Your code should ensure all instance field are valid as described above. If not write an error message to the standard output and continues. Set field to 9999 75 6/3/12 Bay Hill CC 69.5 123 Score - course:String - score:int - courseRating:double - courseSlope:int - date:String + Score() + Score(String,int,String,double,int) + getCourse():String + getScore():int + getCourseRating():double
+ getSlope():int + getDate():String + setCourse(String) + setScore(int) + setCourseRating(double) + setSlope(int) + setDate(String) + toString():String Submission Requirements: Your project must be submitted using the instructions below.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture