Introduction
For the past couple of days we've been making the Calculator class, the Textbook class, &c. Now its time for you to model anything of your choosing. This is an opportunity for you to use your imaginations, your class can be whatever you want it to be, as long as it has the requirements listed below.
The Requirements
Your class must have:
- Your class must have at least 3 properties, using at least 2 different data types, one of which should be boolean.
- You must have at least one accessor method
- You must have at least one mutator(setter) method
- You must have a toString() method
- You must overload at least one method
- You must overload the constructor
- You must override toString() and equals()
- You must implement the Comparable interface
- You must use at least three if/if-else statements across the class and test driver
- You must create a test driver for your program, which tests all the methods in your program and exercises all paths through each if statement.