Assignment 10 Tips


In section 9 we mentioned a method called checkSetting(), but of course we rather meant checkStatus().

In section 10, subsection Processing user input, we asked you to add some code to methods action. But we were actually so nice to leave all the code in there, so you don't need to add anything to action.

The constant heatLoss is defined in class OutsideTemperature, not InsideTemperature as stated in the handout.

The action methods given in the skeleton expect an integer as input value. So if you enter a real number, even something like 32.0, it won't update the temperature setting. The original values of 32.0 and 68.0 are therefore misleading; it shoud have been 32 and 68.


Last update:  06/08/00 11:55