Video store application

Assignment Help JAVA Programming
Reference no: EM13711429

Prepare an object-oriented program in Java for a video store application with the subsequent

requirements/specification:

- Print a statement of a customer's charges at a video store. A customer may rent several movies in one transaction. The statement should add the title, days rented, and total cost for each movie rented, as well as the total rental cost of all movies.

- Program is told which movies a customer rented and for how long (i.e., the number of days)

- Rental charges are calculated depending on how long the movie is rented and the movie type

- There are three kinds of movies: regular, children, and new release. You may assume the new releases have a higher rental charge.

- In addition to calculating charges, the statement also computes (and prints) frequent renter points, which vary depending on whether the film is a new release or not.

- You must clearly document your rental pricing and frequent renter point allocation schemes in the code.

These tasks should be implemented using four classes: Customer, Rental, Movie, and a class with the main method.

Distribution of these tasks to appropriate classes, and methods within them, is your responsibility.

The Customer class should have a statement method.

The Movie class should have at least the title, pricing structure (based on the movie type).

The Rental class should have at least the number of days rented.

Requirements:

You must create an Eclipse project named VideoStore. The classes must be identified from the program description.

No credit will be given to programs that do not compile.

No credit will be assigned if all coding is done in the main method and/or a single class.

You have to pay attention to the principle that each class must show only one specific concept, and what related responsibilities (methods/functions) it must perform.

Reference no: EM13711429

Questions Cloud

Describe about goal programming models : Durham Designs manufactures home furnishings for department stores. Planning is underway for the production of items in the "Wildflower" fabric pattern during the next production period.
Write a program that reads ten numbers : Write a program that reads ten numbers from input and prints them in reverse order.
Rectangular and cylindrical coordinates : Write a program to convert between rectangular and cylindrical coordinates, based upon user input.
Explain about research methods : Why you think a descriptive or explanatory research design would be most appropriate for each form of policy analysis.
Video store application : Prepare an object-oriented program in Java for a video store application with the subsequent
Identify and research an ethical issue : Explore an ethical issue: Why did you select it; what is the background, what impact does it have on business, what is the resolution.
Definition of constant initialization arrays : You have to extend the definition of constant initialization arrays to multi-dimensional arrays
Overwrite the input and the number of local variables : overwrite the input and the number of local variables should not depend on n - Prepare pseudocode converting M to be stored in column major order.
Question based on primary research : A pharmaceutical manufacturer followed sales representatives in the field to observe some 150 interactions between sales reps and physicians and support staff.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create a constructor with three default parameters

How can you create a constructor with three default parameters two of type string and one double?

  Define an adt for character strings.

Define an ADT for character strings. Your ADT should consist of typical functions that can be performed on strings, with each function defined in terms of its input and output. Then define two different physical representations for strings.

  Prepare a java program to random pick

The user and computer will each randomly pick one and common rules of winning apply. The game ends when the user and computer pick the same item.

  Write a class array that encapsulates an array

Write a class Array that encapsulates an array and provides bounds-checked access. The private instance variables should be int index and inarray[10]. The public members should be a default constructor and methods (signatures shown below) to provide ..

  Give at least one constructor without any parameter

We learned as popular Set implementation. Write own TreeSet class that implements following interface: You are to give at least one constructor without any parameter.

  Write a program displaying a text file

Write a program displaying a text file that is in a text area - The user enters a file name in a text field and clicks the view button; the file is then displayed in the text area. Do not use BufferedInputStream.

  Utilizes a good design process

Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array.

  Create a project using the classes in the doc sharing area

create a project using the classes in the Doc Sharing area labeled A Simple LinkedList class. Compile it, run it, and review the code that is given carefully. This code tests the LinkedList class provided in the lecture.

  Develop a java based gui application using swing that

develop a java based gui applicationusing swing that allows the user to enter charityfund informationwrite the

  Write a recursive method that takes two non-negative integer

Write a recursive method that takes two non-negative integers m and n as parameters and returns the product.

  Write the code and output result1 real cash register can

write the code and output result.1. real cash register can handle both bills and coins. design a single class that

  Program to find maximum-minimum of sequence of values

Common task which should be done in loop is to find maximum and minimum of sequence of values. File Temps.java contains program which reads in sequence of hourly temperature readings over 24- hour period.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd