construct a class called Toothbrush in JAVA , representing an electric toothbrush, with attributes being the brand, the color (using Color class), and the softness – hard, medium, soft. Methods required include a default constructor with no arguments, a constructor with all arguments, all getter and setter methods, and a toString method. There is also a brushTeeth method which uses a random generator to determine how many seconds of brushing there will be, between 100 and 1000. then write a TestToothbrush program to create 3 objects of type Toothbrush and to test all getter methods, toString method, and brushTeeth method in the Toothbrush object.
EssayNICE | 24/7 Homework Help
Essaynice Will Help You Write Your Essays and Term Papers
Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.
Assignment help 1490
HOME TO CERTIFIED WRITERS
![](https://app.essaynice.com/wp-content/uploads/2023/06/Qualified-writers.png)
Why Place An Order With Us?
- Certified Editors
- 24/7 Customer Support
- Profesional Research
- Easy to Use System Interface
- Student Friendly Pricing