发布时间:2020-07-31 03:24:45
问题补充:
import java.io.*;
public class Count {
//method countChars
//…………………….
public static void main(String[] args) throws Exception
{
if (args.length >= 1)
countChars(new FileReader(args[0]));
else
System.err.println("Usage: Count filename");
}
}