Sample 02

 

This is a menu-driven, console program that records and displays sales for a group of sales representatives.

To run the program, you must be familiar with how to run Java sample code using a "test" project. If you already have a test project, copy and paste the source statements of this Sample02.txt file into the App.java source file of your test project. Then, re-build the test project and launch its App class.

NOTE: The main method expects to receive the names of one or more sales representatives in the form

Ken Karen Mary David

as application parameters. Consult the documentation of your Java development environment for information on how to pass parameters to the application at project at run time.