Emails us- Call US

Assignment help 1490

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.


15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.