Notas
Sem título
Conteúdo das notas (1)
Página 1
Why nextLine is not working after nextInt in Java?
This is happening because of the Scanner. nextInt method does not read the newline character in the input generated by hitting "Enter," and so the call to Scanner. nextLine retorts after reading that newline.
Informações
- Descrição
- Notas sobre Sem título, criado por Rucha Chormunge em 08-12-2022.
- Criado por
- Rucha Chormunge
- Visualizações
- 0
- Avaliação