0
Problem with java scanner
why there is coming java.util.nosuchelementexception? then I use the scanner for 2 inputs?
7 Answers
+ 6
https://code.sololearn.com/c9EL9rmpj429/?ref=app
Enclose the methods in a class , Scanner shall be initialized once , and methods of a class should be public ... That's What My Little Knowledge Says
+ 1
this is the code there the problem is
+ 1
hey thanks, but I still did't get why I get the error before
+ 1
?
+ 1
what you meet with this number?
+ 1
it's to choose the language 1 for English 2 for german. than you input an number and you get the row like for 2: 2 4 6 8 10 12 14 16 18 20