Which of the following choices is the correct syntax for declaring a Scanner to read the file example.txt in the current directory ?
Scanner
example.txt
Scanner input = new Scanner("C:\example.txt");
Scanner input = new Scanner(new File("example.txt"));
Scanner input = new File("example.txt");
File input = new Scanner("/example.txt");
Scanner input = new Scanner("C:/example.txt");