instantiate a new temperature object in your main(), and it should work.
public static void main(String[] args) throws java.io.IOException
{
System.out.println("Welcome to the...
Type: Posts; User: JavaHater
instantiate a new temperature object in your main(), and it should work.
public static void main(String[] args) throws java.io.IOException
{
System.out.println("Welcome to the...