CMSC204 | Generics Lab
Complete the following –
- Modify the DataSet class so that it becomes a generic class
- Name the generic version as DataSetGen.java
- This class should work with only those classes that implements Measurable
- Modify the main() method of DataSetTester so that you can run it
- It utilizes BankAccount and BaseballPlayer (classes)
- it uses the DataSetGen class
- Don’t make any changes to the BankAccount nor BaseballPlayer classes
- In a small write-up
- Capture one or more screen shots of your test runs
- Discuss your learning experience in several paragraphs
- Submit a compressed file of your project folder and write-up