aa... i put this in class same like u did... it said "Add @Override Annotation", is it something wrong?
in this code, how to do the input the fan is on or off, like if i said on, they switch on,...
Type: Posts; User: qaromi
aa... i put this in class same like u did... it said "Add @Override Annotation", is it something wrong?
in this code, how to do the input the fan is on or off, like if i said on, they switch on,...
oh i see... u put toString() method at public class.. that method for if-else right?
so u make new caller to call that method... am i rite?
i think this 1 no need to write..
Fan fan = new...
anyway i duno the last 1. number 8... how to combined?
toString()? is it new method? can show me?
Hello programmers ^^
i 'am new here... so..
i got assignment from my lecture.
this is the first assignment.
before this my lecture teach me about how to make a cake using constructor. but i...