编辑代码

import java.util.Scanner;
class Main {
	public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
		System.out.println("Username:");
        String username = scanner.nextLine();
        System.out.println("Username:" + username);
	}
}