Question: ickleBallMatch.java ( 7 2 pts ) Fields ( 1 2 pts ) o All fields are private. ( 4 pts ) Page 1 of 5

ickleBallMatch.java (72 pts)
Fields (12 pts)
o All fields are private. (4 pts)
Page 1 of 5
Dept. CSIT, APSU
o Win probabilities are doubles. (2 pts)
o Games results field is a String. (2 pts)
o All fields that tally games are ints. (4 pts)
PickleBallMatch constructor (12 pts)
o Method is public and declared correctly. (4 pts)
o Initializes fields for win probabilities to values provided. (2 pts)
o Sets the current server to player one. (2 pts)
o Initializes results field to empty string. (2 pts)
o Sets fields that tally games to zero. (2 pts)
playMatch (8 pts)
o Method is public and declared correctly. (4 pts)
o Repeatedly calls playGame until matchOver returns true. (2 pts)
o Displays the correct winner and results. (2 pts)
playGame (16 pts)
o Method is public and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!