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.IOExceptionCopyright © 2025. All rights reserved.