Class Declarations for temperature program in Java
问题 So this is the problem I'm having I need to input these five methods: Temperature – a constructor method. This should set the initial temperature to 100. getTemp – a method to return the current stored value of degrees Celsius convertToF – a method to convert a Celsius temperature to degrees Fahrenheit convertToK – a method to convert a Celsius temperature to degrees Kelvin updateTempC – a method to update the stored temperature in degrees Celsius into this program: import java.util.Scanner;