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 Highlighter.java class. It should test the constructors, and the mutators and accessors for bodySize and bodyColor -- each mut/acc pair can be tested in a single method. (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 Highlighter.java class. It should test the constructors, and the mutators and accessors for bodySize and bodyColor -- each mut/acc pair can be tested in a single method. (The void methods do not need a test method.)