Scanner in = new Scanner(System.in);System.out.print("input here:");String name = in.nextLine();System.out.println("your input is:");System.out.println(name);