+ 14

Why it is wrong?

Guys, In Java there is two library by which we can take user input in our console that is "java.util" and "java.io" , by using Scanner class which is avilabe in java.util package, we can take input, so why it is wrong if I choose "java.util". https://www.sololearn.com/post/710970/?ref=app

28th Oct 2020, 4:56 AM
Priyanshi
Priyanshi - avatar
5 ответов
+ 5
You can report ambiguous questions using the report feature on top right corner of the challenge.
28th Oct 2020, 6:53 AM
Kevin ★
+ 10
Kevin ★ The both answer is correct . Thanks Bro, Your answer is best according to me
28th Oct 2020, 7:18 AM
Priyanshi
Priyanshi - avatar
+ 8
zemiak what?? I don't get it
28th Oct 2020, 7:08 AM
Priyanshi
Priyanshi - avatar
+ 5
zemiak The post feature is available on mobile app only. If you are using app try checking your network speed. There's a picture of a single-selection challenge: "What do you need to import to accept user input?" The correct answer was (according to the challenge) java.io but java.util was another option.
28th Oct 2020, 7:14 AM
Kevin ★
+ 2
I can't open your link
28th Oct 2020, 7:08 AM
zemiak