Question: Can anyone debug this for me please? Java code to copy package debugmeone; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class ReadTextFile { private Scanner
Can anyone debug this for me please? Java

code to copy
package debugmeone;
import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner;
public class ReadTextFile {
private Scanner input; // Ignore the hint given by NetBeans
public void openFile() { try { input = new Scanner( new File("accountrecords.txt")); } catch(Exception e) { System.out.println("Something bad just happened here."); System.exit(707); } catch( FileNotFoundException fnfe) { System.out.println("Error - File Not Found: accountrecords.txt"); System.exit(100); } } }

ITCS-2590 Debugging Execse Chapter 11 - NetBeans IDE 8.2 File Edit View Navigate Source Refactor Run Debug Profile Teem Tools Window Help Search (Ct1+)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
