Java - clarify extends

Java - clarify extends