可以使用哪种方法为文件temp.txt创建输入对象?
、new Scanner("temp.txt")
B、new Scanner(temp.txt)
C、new Scanner(new File("temp.txt"))
D、new Scanner(File("temp.txt"))
发布时间:2024-12-19 16:10:20
、new Scanner("temp.txt")
B、new Scanner(temp.txt)
C、new Scanner(new File("temp.txt"))
D、new Scanner(File("temp.txt"))