Originally posted by Aaron Raja:
... Interface methods can't be native, static, synchronized, final, private, protected or abstract...
Correction: Interface methods
are abstract. (The keyword can be used, but is not needed because it's already implicit.) Also, add strictfp to the list.
Note that the above restrictions result from the need for abstract methods to be
implemented in a subclass. So keywords that dictate implementation (e.g., native or strictfp)
or prevent a method from being overridden (e.g., static or final) do not work with "abstract." Also since interface methods are implicitly public, they can't have another access modifier (private or protected).