Why declare an interface as abstract?

前端 未结 11 929
予麋鹿
予麋鹿 2020-12-13 03:36

What\'s point of declaring an interface as abstract? Same thing for an interface method. Is there a point to it?

eg.

public abstract interface Presen         


        
11条回答
  •  -上瘾入骨i
    2020-12-13 04:15

    There is no point of declaring interface to be abstract. As the methods in the interface are abstract only.. One more thing abstract class can have both concrete and abstract methods but in the interface there should be only abstract methods.

提交回复
热议问题