pokoleo wrote:but you are using the same variable names for your array (vowelCount and wordCount) as for the local variables in your method. This is a Bad Thing.
but I've initialized the arrays:
public static int vowelCount=new int ;
public static int wordCount=new int ;
public static int line=1;
public static void main(String args) throws IOException
Edited by: pokoleo on Apr 28, 2008 8:49 PM