Design a class in Java called Fan to represent a fan. The Fanclass contains :
3 constants named SLOW, MEDIUM, FAST with values 1, 2, and 3,to denote the fan speed.
A private int data field named speed that specifies the speedof the fan (the default is SLOW).
A private boolean data field named on that specifies whetherthe fan is on (the default is false).
A private double data field named radius that specifies theradius of the fan (the default is 5).
A private string data field named color that specifies thecolor of the fan (default is blue)
Accessor and
PayPal Gateway not configured
PayPal Gateway not configured