Revised 03/22/14
R. G. Baldwin instructor
A detailed set of instructions is provided in a separate document titled Instructions for Downloading and Submitting Assignments that you can view at the official web site for this course.
I recommend that you study those instructions very carefully and make yourself a checklist to ensure that you meet all of the requirements before submitting your assignment.
Failure to follow the instructions to the letter usually results in a failing grade, normally zero. The general instructions in that document apply to this assignment. In addition, this document provides specific instructions for the assignment.
If you have any questions regarding instructions, please ask them at least one week prior to the assignment deadline. Don't end up with a bad grade due to the fact that you didn't understand the instructions.
Every semester there are one or two students who are surprised and saddened to learn that I really do mean that you must follow the instructions and meet the specifications exactly or you won't get credit for the assignment. Don't be one of those students.
You will find a source code file for the driver class for the program in the same zip file from which you extracted this project specification.
You will also find compiled class files for my version of the program in that same zip file. Run my version of the program side-by-side with your version and compare your output with my output to make sure they match before submitting your assignment.
Software version requirements are specified in the accompanying document titled Instructions for Downloading and Submitting Assignments and in the syllabus for this course.
When you compile and run your program, or when you run my version of the program, you may encounter a warning message that reads something like the following (the name of the program will be different from that shown below):
Note: .\Proj18Runner.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
This is the result of something called Generics that was introduced in Java version 1.5.
Ideally we would write our code in such a way that this warning message would never be displayed. However, Generics is a very complex topic. A complete understanding of Generics is beyond the scope of this course. Therefore, if you see such a warning when you run your programs or mine, feel free to ignore the warning, provided of course that your program meets the specifications in every other respect.
Proj11 Copyright 2013 R.G.Baldwin Among other things, this assignment involves:
There are no graphic output images required by this program. Therefore, it can be compiled and executed without a requirement to have Ericson's media library on the classpath. PROGRAM SPECIFICATIONS Write a program named Proj11 that uses the class definition contained in the file named Proj11.java to produce the output shown below on the command-line screen. You may define new classes as necessary to cause your program to behave as required, but you may not modify the class definition for the class named Proj11. Put your name here Able Baker Charley aBle |
-end-