Why declare an interface as abstract?

前端 未结 11 933
予麋鹿
予麋鹿 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条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 04:34

    The default behavior of an interface is essentially equivalent to what you have in your example. Defining it as abstract is just redundant.

提交回复
热议问题