University : BOSTON University UniLearnO is not sponsored or endorsed by this college or university.
Subject Code : METCS520
Country : United States America
Assignment Task

 

1. Copy Player.java from Assignment 3 into the cs520.hw4 package that you will find in the cloned repository, overwriting the placeholder version that is there. Change its package statement accordingly and remove the computeScoringAverage() method.

 

2. Copy team.txt from Assignment 3 and paste it into the current project, overwriting the team.txt that is in the cloned repository. No changes are needed in team.txt (but you can change player info if you wish).

 

3. In the empty Game class in cs520.hw4, follow these steps:

 

• Using encapsulation, create the following instance variables and corresponding get/set methods:

  1. month (int)
  2. day (int)
  3. year (int)
  4. teamName (String)
  5. opponentName (String)
  6. players (List) - could also be ArrayList or Collection

 

• No constructors are needed.

 

• Create a public method called setDate() that accepts month, day and year values (all of type int) and then sets them in the corresponding instance variables (prefixed with this.). This is meant to be a convenient way to set the date rather than calling the set method for each value.

 

 

This (METCS520) Computer Science Assignment has been solved by our Computer Science experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinctio.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : William
  • Posted on : August 09th, 2019

Whatsapp Tap to ChatGet instant assistance