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

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -