This made me mad (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);
}
}
And I get this error:
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)
It almost made me mad! help me get rid of this! Thank you!