¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Sin título

Rucha Chormunge Inglés 1 página

Contenido del apunte (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.

Información

Descripción
Apunte sobre Sin título, creado por Rucha Chormunge el 08/12/2022.
Creado por
Rucha Chormunge
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?