آیا اینرتفیس را میتوان فاینال تعریف کرد؟
Closed this issue · 1 comments
MohsenNooriArdestani commented
آیا اینرتفیس را میتوان فاینال تعریف کرد؟
MohsenNooriArdestani commented
If you make an interface final, you cannot implement its methods which defies the very purpose of the interfaces. Therefore, you cannot make an interface final in Java. Still if you try to do so, a compile time exception is generated saying “illegal combination of modifiers − interface and final”.