Java, Java, Java 3E
Chapter 3: Methods: Communicating with Objects
Ch 3 Lab: The Invoice Class
Brief description
This lab requires coding an
Invoice class, given a fairly detailed specification of its
attributes and methods. An Invoice object maintains
information about the purchase of some software and is capable of
printing an invoice of a customer's purchases. This lab requires the
student to create a command line user interface for the class.
The objectives of this lab are:
- To gain experience defining a class and implementing methods that
accept and return values.
- To convert the design into a working Java program
- To compile, run and test the Java program