java - Difference between public interface and abstract interface? -


this question has answer here:

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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -