CP1344: PROGRAMMING IN JAVA - LECTURE -19- JAVA BASIC INPUT AND OUTPUT- USING CONSOLE CLASS-BCA- S3.

Опубликовано: 21 Август 2020
на канале: BOSCOCAMPUSVISION
46
2

JAVA BASIC INPUT AND OUTPUT- USING CONSOLE CLASS
Using Console Class

The Java Console class is be used to get input from console. It provides methods to read texts and passwords.

If you read password using Console class, it will not be displayed to the user.

The java.io.Console class is attached with system console internally.
Method Description
Reader reader() It is used to retrieve the reader object associated with the console
String readLine() It is used to read a single line of text from the console.
String readLine(String fmt, Object... args) It provides a formatted prompt then reads the single line of text from the console.
char[] readPassword() It is used to read password that is not being displayed on the console.
void flush() It is used to flushes the console.


На этой странице сайта вы можете посмотреть видео онлайн CP1344: PROGRAMMING IN JAVA - LECTURE -19- JAVA BASIC INPUT AND OUTPUT- USING CONSOLE CLASS-BCA- S3. длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь BOSCOCAMPUSVISION 21 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 46 раз и оно понравилось 2 зрителям. Приятного просмотра!