抽象类和接口的区别 简介 设计层面 抽象类 是 代码复用 接口 是对类的行为进行约束, 有这个功能, 比如 comparable 接口的实现. 参考链接 https://blog.csdn.net/qq_41933748/article/details/82670072 Hope is a good thing,maybe the best of things,and no good thing ever dies.----------- Andy Dufresne