I'm new to Java so this is a very basic question. I get and error when entering a name with spaces. What do I need to change please? steering me to info is great too.
how do I allow input with spaces.
import java.util.Scanner;
public class yes {
public static void main(String[] args) {
Name = in.next();
....
}
}