This whole project needs the addition of Unit Tests. These test classes should be placed in the same folder as the source code. (I know this is not SOP, but most of us probably use tools like BlueJ which puts things in the same folder.)
Create a JUnitTest class which tests the Pen.java class. It should test the constructors, and the mutator and accessor for inkColor. (The void methods do not need a test method.)
This whole project needs the addition of Unit Tests. These test classes should be placed in the same folder as the source code. (I know this is not SOP, but most of us probably use tools like BlueJ which puts things in the same folder.)
Create a JUnitTest class which tests the Pen.java class. It should test the constructors, and the mutator and accessor for inkColor. (The void methods do not need a test method.)