请问结果这样对吗?
文件名 Count.javapublic class Count {
private int serialNumber;
private static int counter=0;
public Count() {
counter++;
serialNumber=counter;
}
}
输出如下General Output:
--------------------Configuration: <Default>--------------------
java.lang.NoSuchMethodError: main
Exception in thread "main"
Process completed.