Can someone identify the error in this code for me? The input line gives an error.
import java.util.*;
public class Time_Convert_Test
{
Scanner number = new Scanner ( System.in );
public static void main(String[] args)
{
int firstValue;
System.out.print( "Please enter time in hours:" );
firstValue = number.nextInt();
}
}