java - Difference between public interface and abstract interface? -
this question has answer here:
- java abstract interface 9 answers
can tell me difference between specifying interface public , abstract?
public interface test{}
and
abstract interface test{}
the former interface can accessed anywhere. latter (since abstract superfluous) interface can accessed within same package, has default access modifiers.
Comments
Post a Comment