public class PasswordField extends Object
Constructor and Description |
---|
PasswordField() |
Modifier and Type | Method and Description |
---|---|
static String |
getPassword(String prompt) |
static void |
main(String[] args) |
public static void main(String[] args)
public static String getPassword(String prompt) throws IOException
prompt
- The prompt to display to the user.IOException
Copyright © 2023. All rights reserved.