Wyo Java Ch2Proj1

Write your own custom-made class that includes the following items:

  • a default constructor
  • 1 or more "other" constructors
  • 5 or more instance fields (i.e. properties)
  • a modifier for each instance field
  • an accessor for each instance field
  • 2 or more additional "interesting" methods that may modify instance fields' values but that are meant to manipulate an object in an "interesting" way

Write a test class named Ch2Proj1 that instantiates 2 or more objects from your class and that uses every constructor and method from the class, displaying output so that the instructor can easily tell that the methods and constructors work properly.

Your program must follow the class Coding Standards. Save all of the files associated with this assignment in the appropriate network folder.

Preconditions:

    • None

You must hand in the following on separate pages stapled in this specified order:

    1. The source code for your class.
    2. The source code for the Ch2Proj1 test class.
    3. The printscreen of your console window output. Be sure to print black text on white background.