posted 23 years ago
Hi friends,
I have two questions:
1) Can an interface be private or protected. and
2)
if i have an interface
public interface Myintf
{
public abstract void myMeth();
}
If i have a class implementing Myintf should the implementing method have the signature
public abstract void myMeth() or is it okay if it is
public void myMeth()
the implication being that in the first case, the class might itself have to be declared abstract or an interface.
Regards
Ramesh