This is from sun's tutorial
"Member declarations in an interface disallow the use of some declaration modifiers; you cannot use transient, volatile, or synchronized in a member declaration in an interface. Also, you may not use the private and protected specifiers when declaring members of an interface. "
From this I assume you cannot have these modifiers for the interface declaration either..
Others correct me if I am wrong.
Originally posted by Jordi Marqu�s:
Hi!
Can an interface to be private or protected in some cases??
Thank you in advance.