"blah" in my case is the data type. In your case it would be User. You might want to put User in another class instead of having it in main.
public class User
{
String username;
String password;
public User(){
createUser();
}
public void createUser()
{
Scanner getInfo = new Scanner(System.in);
System.out.println("Set a username.");
username = getInfo.nextLine();
System.out.println("Set a password.");
password = getInfo.nextLine();
System.out.println(username + " " + password);
}
}
This is how your User class should look. Took out a few redundant things and this should be in another class file (separate from Main). Makes it easier to keep neat and clean.