Code:
import java.io.*; public class CharacterCount { public static void main(String[] args)throws FileNotFoundException, IOException { int lineCount = 0; int[] letterCount = new int[26]; IntClass next = new IntClass(); //... } static void copyText(FileReader infile, PrintWriter outfile, IntClass next, int[] letterC)throws IOException { while (next.getNum() != (int)'\n') { //... } //... } //... }
why can't I access IntClass?
I don't get it?
where did I go wrong?
Comment