I was going to say that exact thing keang +D. Just because, the board instructions call for me to do so.
my solution:
Code:public static void readOutput() throws IOException{ String allTxt; int cap; int read; try (BufferedReader br = new BufferedReader(new FileReader(file))) { allTxt = br.readLine(); cap = allTxt.length(); if(allTxt != null) { CharArrayWriter caw = new CharArrayWriter(cap); caw.write(allTxt, 0, cap); char[] araFull = caw.toCharArray(); // code continues




Reply With Quote