Public final class console extends object implements Flushable
Method | Description |
---|---|
void flush () | The function of this method is to flush the specified output stream. |
String readLine() | The function of this method is to read the content of text from console. |
char[] readPassword | The function of this method is to read the content related to password which is not displayed on console. |
console printf(String format, Object args) | The function of this method is to write the content the string format to the output stream. |