Why declare an interface as abstract?

前端 未结 11 966
予麋鹿
予麋鹿 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:10

    Typically, you don't declare the interface, or its methods, as abstract. They are implicitly.

    The methods are also public, so you can skip that also. :-)

提交回复
热议问题