{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cis3023_project2 - Project 2 Movie Rental Project...

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

View Full Document Right Arrow Icon
Project 2 - Movie Rental Project Description: You are implementing a movie rental application that tracks information pertaining to customers renting items from various stores. Important Notes: 1. Object attributes (properties) should not be directly accessible; rather you must create get/set methods (accessor/mutator). By convention, these methods should be named according to the names of the variables they access. For instance, the accessor methods for a property "name" would be "getName()" and "setName()". You will lose points if your properties are public! 2. The below description outlines properties (attributes) and methods that MUST be included, but these will not be sufficient to solve the problem. Additional methods, properties, and classes may be required to complete your solution. 3. A reminder about public classes: When a class is declared public, it must be contained in its own file. For instance, the "public class Rental" below must be given in a file "Rental.java". Therefore, your final submission should contain multiple Java files. 4. Submission: Before submitting your project, first pack all of your source files into an archive. To do this from a Windows platform, use either the .zip or .rar format. To pack the files from a UNIX platform, use the tar utility (or tar and gzip). 5. Remember that your code must compile in order for us to grade it.. if your submission does not compile, you will receive a grade of 0. Required Structure: public class Customer // Properties: // String name - the customer's name // int age - the customer's age // Date enrollDate - date that the customer enrolled at this store // Constructors: // Customer() // Customer(String name) // Customer(String name, int age, Date enrollDate) // Methods: //
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ 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