这让我很生气(Eclipse Kepler)
public class FastReader
{
public static void main (String[] args)
{
FastReader a = new FastReader("hi");
}
public FastReader(int a)
{
}
public FastReader(String b)
{
FastReader(10);
}
}
我得到这个错误:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method FastReader(int) is undefined for the type FastReader
at FastReader.<init>(FastReader.java:14)
at FastReader.main(FastReader.java:6)
它几乎让我生气!帮我摆脱这个!谢谢!