Assignment 5 - Arrays and Inheritance

Assignment 5 - Arrays and Inheritance - // stats should be...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Dr. Karina V. Assiter 4bab0ed990f6aea07440ed3d815ae41e8cfa73aa.doc 5/7/2009 Wentworth Institute of Technology Object Oriented Programming Due: October 18, 2004 Objective: Complete the BaseballPlayer class so that it can be easily used by future classes (ie, Teams, etc,…). Topics: 1. Classes containing arrays of classes 2. Instructions 1. Read sections 6.3 – 6.5. 2. Read sections 7.1 – 7.2 3. Build the classes expressed in the UML diagrams in the file: Baseball Classes. 4. Write a BaseballApplicationDem o class that does the following: // Create a League object League league = new League(“American”); // Read should get everything…. . league.read(); // Write should display everything league.write(); // Simulate the season league.season();
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // stats should be filled here. league.write(); 5. Compile and execute and thoroughly test the BaseballApplicationDemo class . Submitting your work: 1. Make sure that your name is in your project source files . 2. If you have more than one source file , make .zip files of your project(s) 3. Send your .zip file as an attachment to assiterk@wit.edu with the assignment number as the subject a. Be sure to include your name in the email body if you have an obscure email address (i.e., if I cannot determine who you are from your username Dr. Karina V. Assiter 4bab0ed990f6aea07440ed3d815ae41e8cfa73aa.doc 5/7/2009 _________________________________________________________________...
View Full Document

Page1 / 2

Assignment 5 - Arrays and Inheritance - // stats should be...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online