mirror of
https://gitee.com/gaohongy/Java-Book.git
synced 2026-07-16 10:33:49 +00:00
整理重点
This commit is contained in:
+4
-1
@@ -546,7 +546,7 @@ edible.howToEat();
|
||||
|
||||
## 3. 接口的使用
|
||||
|
||||
### 3.1. Comparable接口
|
||||
### 3.1. Comparable接口(理解)
|
||||
|
||||
首先来回忆一下在数组那一章学习到的排序函数:
|
||||
|
||||
@@ -637,3 +637,6 @@ public class SortRectangles {
|
||||
1. 实线箭头表示类的扩展;虚线街头表示接口的扩展方向;
|
||||
2. 所有类都有一个共同的超类 Object,但是接口没有共同的**超接口**。
|
||||
|
||||
## 本章重点
|
||||
|
||||
除特别标注,其他都是重点,需要掌握。
|
||||
Reference in New Issue
Block a user