I'm new to java. I'm just looking for a little help with source code.
As a beginner i'm trying to write a code for CoolingSystem(s uper), fTargetTemp,voi d cool(float), void heat(float) is the top UML.
Then breaks down to two boxes...First subclass is AirConditioner, fACtemp,void cool(), voidcool(float) , and Second subclass is HeatPump, fHeatPump, void cool(float), void heat(float)...a nd finally it connects the two... Thermostat, fRoomTemp, void lowTemp(float).
I just need simple code to get started.
Also, what are the overriding and overloading methods. I keep getting confused with overloading constructers.
Thank you for any help...Moonjuic e
As a beginner i'm trying to write a code for CoolingSystem(s uper), fTargetTemp,voi d cool(float), void heat(float) is the top UML.
Then breaks down to two boxes...First subclass is AirConditioner, fACtemp,void cool(), voidcool(float) , and Second subclass is HeatPump, fHeatPump, void cool(float), void heat(float)...a nd finally it connects the two... Thermostat, fRoomTemp, void lowTemp(float).
I just need simple code to get started.
Also, what are the overriding and overloading methods. I keep getting confused with overloading constructers.
Thank you for any help...Moonjuic e
Comment