Corrected your issue:
Scanner scan = new Scanner(System.in);
When instantiating an object in java you have to invoke it using the keyword "new"
Type: Posts; User: Parranoia
Corrected your issue:
Scanner scan = new Scanner(System.in);
When instantiating an object in java you have to invoke it using the keyword "new"