Complete the definition of the class Fan described. Include accessor and mutator methods for all four data fields. Demonstrate your class by creating two Fan objects. The first of these fans should have a radius of 10, be yellow, and be on at maximum speed. The second fan should have a radius of 5, be gray, and be turned off. Display the fans by invoking their toString methods.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here