0
How to write scanner once and use it in multiple classes
I tried using public static Scanner sc but it still gives error in other classes
2 odpowiedzi
0
Where's the code you wrote which threw the error
0
Scanner class is used once in main method otherwise you need to call the place where you have used it