garishnikov
Programmer
I'm getting this message when trying to compile. This is what the code in question looks like:
import java.io.*;
public class User
{
String userName;
String userHand;
int handNumber;
String choice;
public User() throws IOException
{
BufferedReader theInput = new BufferedReader (new InputStreamReader(System.in));
System.out.println();
System.out.println("Welcome to RPS. What is your name?"
userName = theInput.readLine();
}
}
Any ideas?? Thanks
import java.io.*;
public class User
{
String userName;
String userHand;
int handNumber;
String choice;
public User() throws IOException
{
BufferedReader theInput = new BufferedReader (new InputStreamReader(System.in));
System.out.println();
System.out.println("Welcome to RPS. What is your name?"
userName = theInput.readLine();
}
}
Any ideas?? Thanks