many thanks for the replys.
Simran Dass wrote:
Because we need to implement the interface from out of the package also.
That's why i'm confused, because the default access (which is provided for classes and interfaces) allows only package visibility. So why not a protected access?
Larry Olson wrote:
Sometimes it seems like we have to accept things blindly without questioning them...unfortunately.
You're right. Either public access or default access, a in-between is not needed.