抽象类可能有也可能没有抽象方法,但接口只有未实现的方法。那么,如果我的抽象类的所有方法都标记为抽象,那么使用接口的区别和优势是什么?
php oop abstract-class interface
abstract-class ×1
interface ×1
oop ×1
php ×1