Question: Use the code from class Heater to answer the following questions. There can be more than one answer to each question. Choose all the answers

Use the code from class Heater to answer the following questions. There can be more than one answer to each question. Choose all the answers that apply. public class Heater bus private int temperature; private int min; private int max; private int increment; nate public Heater(int minimum, int maximum) min = minimum; max = maximum; temperature = 15; increment = 5; } public void warmer() { int newTemperature = temperature + increment; if(newTemperature = min) { temperature = newTemperature; } public void setincrement(int inc) { if(inc >= 0) { increment = inc; } public int getTemperature) { return temperature; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
