Of circulationitem objects and a loop might iterate

This preview shows page 1 - 2 out of 4 pages.

of CirculationItem objects and a loop might iterate through this array to call checkout on every object in the array. 4. Each class you write must be robust and have a clear reason for existing. Classes that contain very little content do not count. The entire program should have a purpose. It should not be a random collection of classes. 5. If you wish, you may write a portion of a larger program (similar to the GamePlayer class from HW7), but you need to show that you have tested the objects and methods in your classes. 6. If you wish, you may build upon code you have written from previous assignments. You can even use code written by others and the code that was demonstrated in lecture. However, code written by others must be clearly identified. If you start with existing code, you still must write additional code specifically for this assignment that meets the requirements above.
Image of page 1

Subscribe to view the full document.

7. The program can be text-based (printing text to the screen and scanning data from the keyboard) or graphical (using JFrame). If you want to do something graphical, your textbook contains information about using JFrame in the last section of the first few chapters. HW4, HW8, and the Ball animation use JFrame for your reference. Also, the on-line API for Java will be helpful: This assignment has deliverables in two parts: Part A (design proposal) [7 pts]: 1. If you plan to work with a partner, include both names of the partnership here. You only need to upload one copy of the proposal for both students. If you are working alone, include just your name here. 2. (2 pts) Create a brief (one paragraph) description in English of what you intend to create for your program. 3. (5 pts) Provide a set of UML class diagrams indicating the instance variables and methods for each class. You should also indicate with arrows the “is a” relationship between classes. Arrows should point to the superclass. The “is a” relationship is as follows: In the library example, a Book “is a” CirculationItem since Book extends CirculationItem. See the UML diagram for the Library code in the coursepack for an example of what to produce for this part. Be sure to include the types of instance variables, the types of parameters for methods, and the return types for methods.
Image of page 2
You've reached the end of this preview.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern