you create the public boolean isOn ( boolean newOn ) method with parameter.
So you must call this method with parameter like this..
testfan1.isOn(false);
And this method only print the...
Type: Posts; User: Tamilarasi
you create the public boolean isOn ( boolean newOn ) method with parameter.
So you must call this method with parameter like this..
testfan1.isOn(false);
And this method only print the...