Report question

Question: How is the Java compiler able to distinguish between those two constructors/methods?