Город МОСКОВСКИЙ
00:06:26

22 - Scanner class ( nextInt; hasNextInt ) | Java Tutorials

Аватар
Java Разработка
Просмотры:
22
Дата загрузки:
04.12.2023 19:31
Длительность:
00:06:26
Категория:
Обучение

Описание

Use the Scanner class to get numbers like integers and doubles. Learn how to check the input for an int or double before assigning it to a variable. Use a loop to force the user to input the correct result before moving on.

| Language
Java (.java /.class)

| Code Example
https://github.com/simply-coded/Java-Tutorials

Рекомендуемые видео