O'Reilly logo
  • Zenifer Cheruveettil thinks this is interesting:

The two methods have different return types, which is sufficient for Java to distinguish them.

From

Cover of Java Generics and Collections

Note

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