0

After running java Scanner class to take user input as number from the user, I can not see run option in my NetBeans IDE

After running java Scanner class to take user input as number from the user, I can not see run option in my NetBeans IDE

2nd Sep 2022, 4:21 PM
Jahangir Alom Minto
Jahangir Alom Minto - avatar
2 Answers
+ 2
What is your code with the Scanner class? If you comment it out using "/**/" does your run option reappear?
2nd Sep 2022, 4:31 PM
Ausgrindtube
Ausgrindtube - avatar
0
If you or NetBeans haven't done this already, try putting: import java.util.Scanner; or import java.util.*; at the very top of the java file you are trying to run
5th Sep 2022, 2:25 PM
Stephan Peters
Stephan Peters - avatar