I'm new to Java and am working on a homework problem. The problem specifies to create a Temperature class with a Constructor that accepts a Fahrenheit temperature (as a double) and stores it in the ftemp
field. The setFahrenheit method accepts a Fahrenheit temperature (as a double) and stores it in the ftemp
field.
This seems redundant to me. Wouldn't the setFahrenheit method do exactly what the Constructor does?