Question: A java program with a HockeyPlayer class representing hockey players with instance field, constructors, methods, and comments. Also needs a test class that will creat
A java program with a HockeyPlayer class representing hockey players with instance field, constructors, methods, and comments. Also needs a test class that will creat objects(instances) of the HockerPlayer class. With a UML diagram
The players are:
Henrik 33
Daniel 22
Cory 35
Output:
What us the name of player 0?
Henrik
What is the # of player 0?
33
What is the name of player 1?
Daniel
What is the # of player 1?
Daniel
What is the name of player 2?
Cory
What is the # of player2?
35
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
