I have an assignment to write a java class.
What I need to do is write a class and a driver. I need to write a class that stores instance data as members names.
Golfmember(name : String)
then in the driver I would have something like:
golfer1 = new Golfmember();
For instance, the program would display,
Program Displays: Please enter a name for golfer one:
User enters: Joe Blow
Then it should print out something like:
Joe Blow is golfer number one.
I am really confused with writing the class for Golfmember.
Can anyone help?