Wrong Challenge Answer: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Wrong Challenge Answer:

Question: "What do you need to import to accept user input?" Answers: () java.nio (x) java.io () java.util () java.math Did not answere it -> Time Up -> Wrong. I need nothing! I can do it through JOptionPane aswell. Don't say: "But JOptionPane imports java.io!" (ObjectInputStream|ObjectOutputStream) The Question was what *I* need to import and not what *generally* needs to be importet.

28th Mar 2018, 12:09 PM
Steinchr der Wahre
2 Answers
+ 4
java.io can be used also to accept input import java.io.BufferedReader; import java.io.InputStreamReader; https://www.sololearn.com/discuss/943610/?ref=app
28th Mar 2018, 1:07 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
Muhammad Khairul Amirin Bin Yaacob exactly, it CAN be used but I don't have to directly use it
28th Mar 2018, 1:34 PM
Steinchr der Wahre