[SOLVED] CMSC204 Generic Lab

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (3 votes)

Generic Lab

Start with the DataSet class and make it into a generic DataSetGen class.  This class should load any instance of a class that implements Measurable, and no classes that do not implement Measurable.  Test it with the DataSetTester.

The DataSetTester uses the BankAccount and BaseballPlayer classes.  Do not change any of the classes except DataSet.

Upload the original DataSet.java, DataSetTester.java, BankAccount.java, BaseballPlayer.java, and Measurable.java in a directory named GenericLab, into your repository in GitHub from Lab 1.  Upload DataSetGen.java into the same directory.

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.