1 package coffee; 2 3 interface Heater { on()4 void on(); off()5 void off(); isHot()6 boolean isHot(); 7 } 8