Object oriented programming

The purpose of this assignment is to practice object oriented programming principles in Java combined with command line arguments, file I/O operations, and memory management with arrays.

Instructions

Honor Code: The project is individual work of each student, you’re not allowed to collaborate in any form. Copying code from other sources (peers, websites, etc.) is a serious violation of the University’s Honor Code. Your code will be examined for similarities with other sources.

Validation: Make sure all method parameters are properly validated (e.g. String[] args can’t be empty, etc.)

Documentation: Comments in JavaDoc-style are required. You must comment each class, each method and each instance/class variable you declare. You must also comment any piece of code that is not obvious what it does.

Visibility: All fields should be made private unless we explicitly say otherwise. All methods provided in the specification are public.

Packages: You may not import any classes except Scanner, File, PrintWriter

Submission

Submission instructions are as follows:

Create the file ID.txt in the format shown below, containing your name, userid, G#, lecture section and lab section.

  • Full Name: George Mason
  • userID: gmason
  • G#: 01234567
  • Lecture section: 003
  • Lab section: 213

Upload the ID.txt and the project’s source files (*.java) to Gradescope (link will be provided later)

Download the files you just uploaded to Gradescope and recompile/rerun the code to verify that the upload was correct.

Make a backup of your files on OneDrive (use your mason account)