Final interface in Java?

前端 未结 10 2126
情话喂你
情话喂你 2020-12-03 09:37

Can an interface be declared as final in Java?

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-03 10:17

    Instead of Declaring Interface as a Final, We can avoid Creating an Interface object.

    Point of Creating Interface to implements its methods by its subclass. If we are defeating this purpose then I feel its a baseless.

    If any have any other suggestions, kindly let us know

提交回复
热议问题