+ 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.
2 Respuestas
+ 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
0
Muhammad Khairul Amirin Bin Yaacob
exactly, it CAN be used but I don't have to directly use it