Posts by Victor • 33 points
1 post
-
3
votes1
answer1739
viewsQ: Error using scanner.close()
I’m trying to run this code in Java, using Eclipse. The same runs once normal. When trying to repeat the operation (choosing option 1) gives error as shown below. If I remove the scanner.close(); it…