CodesJava

Easy learning with example program codes

can we declare an interface method static in java?


No, we cannot declare an interface method static in java because interface methods are abstract by default, and static and abstract keywords can’t be used together.

Java interview questions on interface

Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki