Accounts receivable system appication

Assignment Help JAVA Programming
Reference no: EM13810073

A common business application is an 'Accounts Receivable' (AR) system. Companies use an AR system to bill their customers on sales of their products. In this assignment question you will develop the functionality of a simple Accounts Receivable system. You will develop classes for a BillofSales, Customer, Item, and Product. The requirement for each of these classes is given below.

BillOfSales 

+ Customer customer

+ ArrayList items

. public BillOfSales(Customer c)

. public void add( String productDescription, double productPrice, int productQuantity)

. public double calcAmountDue()

. public String toString()

Customer

+ String name, street, city, state, zipcode

. Customer(String name, String street, String city, String state, String zipcode)

. public String toString()

Item

+ Product product

+ int quantity

. public Item( Product product, item quantity)

. double calcTotalPrice()

. public String toString()

Product

+ String description

+ double price

. public Product( String description, double price)

. String getDescription();

. double getPrice();

In the above, a prefix of a plus (+) indicates a field and a prefix of a dot (.) indicates a method.

You have been provided a test class BillOfSalesTst which has a static test method. For convenience, you do not need to create an instance of BillOfSalesTst. Just right-click and execute the test method.

Reference no: EM13810073

Questions Cloud

Write an essay about persepolis by marjane satrapi : Write an essay about Persepolis by Marjane Satrapi.
Minutes and a standard deviation : Jack estimates that his monthly needs are best approximated by the Normal distribution with a mean of 250 minutes and a standard deviation of 24 minutes. How many minutes should he contract for?
Analyze the relevance of habeas corpus : Analyze the relevance of habeas corpus to the contemporary U.S. situation during the war on terror, especially with respect to persons characterized by as enemy combatants or illegal combatants.
Discuss nequality and immigration in human service : discuss diversity, inequality, and immigration in human services
Accounts receivable system appication : A common business application is an 'Accounts Receivable' (AR) system. Companies use an AR system to bill their customers on sales of their products
Write a summary of the given article : Write a summary of the article "Modeling and Simulation of the Communication Networks in Smart grid".
Process of freezing : She left the other on high. Which will cook more quickly, the potatoes on high, the potatoes on low, or will they cook at the same rate? Explain your reasoning.
Sold to food packaging companies : Wisconsin Canning manufacturers decorative cans that store various food products such as candies, pretzels, and cookies.   The finished cans are sold to food packaging companies that fill the cans.  In making the actual cans, minus the lid, there ..
Write a paper report on an airport of your choice : Write a paper report on an Airport of your choice.

Reviews

Write a Review

JAVA Programming Questions & Answers

  A game of tic-tac-toe

A game of tic-tac-toe, two players (one the computer) take turns marking an available cell in a 3 X 3 grid (a two dimensional array) with their respective tokens (either and X or an O). When one player has placed three tokens in a horizontal

  Java program that asks the user for 100 values

Write a Java program that asks the user for 100 values (or generates these randomly) and stores and displays only the distinct values. Hint: use an array to store and display these values.

  Write complete java program to read from keyboard

Write complete Java program to read, from keyboard, a student's first and last name and six grades. It will display on screen last name then first letter of first name with a period.

  Write java program that calculates total order for customer

Write a Java program that calculates the total order for a customer. The order should include the details of buying several products. For each product (item), there should be a product code, product price, product description, and product icon.

  Develop a java based gui application

Develop a Java based GUI application(using swing) that allows the user to enter Charity/Fund information and display them in a JTable

  Calculate the percentage wins of a team

Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..

  What are the limits for each one of these indexes

What are the limits for each one of these indexes and is it possible to model a 2-dimensional array with a single-dimensional array?

  The williamsburg women''s club

The Williamsburg Women's Club offers scholarships to local high school students who meet any of several criteria. Write an application that prompts the user for a student's numeric high school grade point average (for example, 3.2), the student's num..

  Creating a grade book that will use arrays

You will be creating a grade book that will use arrays to store students and their grades. The breakdown of the project is as follows. You must be able to add a student, remove a student, edit a student, remove all students, and exit the program

  Write a program that creates an apartment object and prompts

Create a structure named Apartment that contains data fields to hold the number of bedrooms, the number of bathrooms, and the monthly rent for the apartment.

  Class pointparameters

What is the output of the following Java program? Explain in terms of how parameters are passed in Java.import java.awt.*;class PointParameters

  You need to prepare the java applet

If the typed number is valid, display a product description and price; otherwise, display an appropriate error message. Save the file as JProductFinder.java.

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