You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,all. I have been deadlocked in finding solution for my codes.
I have been searching for three days, almost get what I want. Please review my codes below;
private String promptForText(String prompt, Character mask, DataInputStream in, PrintWriter out) throws Exception {
String line;
ConsoleReader consoleReader = new ConsoleReader(in, out);
line = consoleReader.readLine(prompt, mask);
return line;
}
Hi,all. I have been deadlocked in finding solution for my codes.
I have been searching for three days, almost get what I want. Please review my codes below;
String pwd = promptForText("password:",'*',in,out);
The output I get:
password: f*a*c*t*o*r*y*
Thank You So Much.
The text was updated successfully, but these errors were encountered: