News

Java doesn’t support multiple inheritance through class extension, however. When viewing an inheritance hierarchy, you can easily detect multiple inheritance by the presence of a diamond pattern.
Because you can extend at most one other class (recall from Part 1 that Java doesn’t support class-based multiple inheritance), you’re not forced to explicitly extend Object; otherwise, you ...