Norm my professor says to
Display the object by invoking its toString method.
How do I do that? I just displayed it using print statement but how do I do it with toString?
Type: Posts; User: adnan.alvee
Norm my professor says to
Display the object by invoking its toString method.
How do I do that? I just displayed it using print statement but how do I do it with toString?
Some one help please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Here is the full error message in Bold
Public method isOn cannot be applied to given types;
required: boolean
found: no arguements
reason: actual and formal arguement lists differ in length
This is my assignment
Write a class named Fan to model fans. The properties are speed, on, radius, and color. You need to provide the accessor methods for the properties, and the toString method...