/ Published in: Java
I need some help, i can't understand Why i can´t use it, it said me:`scanner` is never closed.
Thanks
Thanks
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
package demo1; import java.util.Scanner; public class Screen2 { { int edad = scanner.nextInt(); double altura = scanner.nextDouble(); } }