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

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -