Answer:
class fan{
private String model;
private boolean isOn;
//Constructor goes here
public fan(String model, boolean isOn) {
this.model = model;
this.isOn = isOn;
}
// An additional method goes here
public boolean turnOn(boolean yes){
if(yes) {
this.isOn=true;
System.out.println("Fan is blowing");
return true;
}
else
this.isOn=false;
System.out.println("Fan is off");
return false;
}
}
Explanation:
Demonstrating the working of the class in a main method. Below is a complete code
public class fanTest {
public static void main(String[] args) {
fan fan1 = new fan("Binatone", false);
fan1.turnOn(false);
}
}
class fan{
private String model;
private boolean isOn;
//Constructor goes here
public fan(String model, boolean isOn) {
this.model = model;
this.isOn = isOn;
}
// An additional method goes here
public boolean turnOn(boolean yes){
if(yes) {
this.isOn=true;
System.out.println("Fan is blowing");
return true;
}
else
this.isOn=false;
System.out.println("Fan is off");
return false;
}
}
hey if this online school has the system to teach you online then yes they can track your location too. that's all depend upon how this online platform is build. read their privacy policy to check if they have mentioned about it there. some website don't track locations. but in last it all depends how the system has been designed.
Answer:
Reduces the amount of waste sent to landfills and incinerators
Conserves natural resources such as timber, water and minerals
Increases economic security by tapping a domestic source of materials
Prevents pollution by reducing the need to collect new raw materials
Saves energy
Supports American manufacturing and conserves valuable resources
Helps create jobs in the recycling and manufacturing industries in the United