think it out once or twice
-- import java.util.Scanner;
public class HelloImagine {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("input password");
Scanner = scanner.nextLine();
System.out.println("your password is" + scanner);
}
}