The two methods have different return types, which is sufficient for Java to distinguish them.
not correct. Method return types alone are not sufficient for two methods in the same class to have same signature. The statement in this book was probably true at some point due to a bug (<http://bugs.java.com/view_bug.do?bug_id=6182950>), but it was fixed since then
Share this highlighthttp://learning.oreilly.com/a/java-generics-and/19731089/