Should methods in a Java interface be declared with or without a public access modifier?
Technically it doesn't matter of course. A class method that implements an interface is always public. But what is a better convention?
Java itself is not consequent in this. See for instance Collection
vs. Comparable
or Future
vs. ScriptEngine
.