Which method can be used to create an input object for file temp.txt?
a. new Scanner("temp.txt")
b. new Scanner(temp.txt)
c. new Scanner(new File("temp.txt"))
d. new Scanner(File("temp.txt"))
c. new Scanner(new File("temp.txt"))
Computer Science & Information Technology