Goodday!
I have some doubts about
Question 1:
As we know interface method is implicitly public
abstract.How about the interface declaration?
sample:
public abstract interface Rollable{}
From Kathy Book page 115 chap2, it
stated that the interface is implicitly abstract.
Fact A:
Later, it stated that "The public modifier is required if you want the interface to have public rather than default access."
End Fact A
Fact B:
But at the end of the chapter, Pg 133
Interface implementation section:
"Interface are by default public and abstract-
explicit declaration of these modifiers is optional"
End Fact B
What is the default modifiers for interface and
what is modifier allowed to change the default access,e.g
rivate,protected or default access.
Please enlighten me!
Thanks.