Why is my BufferedReader reading text that dosn't exit in the given file?
问题 I am using a BufferedReader to read details from a file which are stored as bytes, I am then converting the bytes into text and splitting it into an array . However my program is returning a NumberFormatException from the text read from the file. Below I have provided my code, the error message, the line read from the file and the print statement used to show what the BufferedReader has read from the file. FileReader fileReader = new FileReader("VirtualATM.txt"); BufferedReader bufferedReader