I will recommend you to read about [abstraction](//howtodoinjava.com/object-oriented/understanding-abstraction-in-java/"Understanding abstraction in java") first, because it the main force behind abstract classes and interfaces.
@@ -93,49 +93,49 @@ public class TestMain implements TestInterface
让我们记下**抽象类和接口**之间的区别以便快速查看:
1.Interfaces have all methods inherently ***public* and *abstract***. You can not override this behavior by trying to reduce accessibility of methods. You can not even declare the static methods. Only public and abstract.
3.Any class which want to use abstract class can extend abstract class using keyword `extends`, whereas for implementing interfaces keyword used is `implements`.
所有实现类(例如[HashMap](//howtodoinjava.com/java/collections/how-hashmap-works-in-java/"How hashmap works in java") ,HashTable,TreeMap 或 [WeakHashMap](https://docs.oracle.com/javase/7/docs/api/java/util/WeakHashMap.html"WeakHashMap"))都不同地实现了所有方法,因此与其他方法相比具有不同的功能。
所有实现类(例如[`HashMap`](//howtodoinjava.com/java/collections/how-hashmap-works-in-java/"How hashmap works in java"),`HashTable`,`TreeMap`或[`WeakHashMap`](https://docs.oracle.com/javase/7/docs/api/java/util/WeakHashMap.html"WeakHashMap"))都不同地实现了所有方法,因此与其他方法相比具有不同的功能。