|
Hi ..
Because in interface methods are public abstract ....by default.
and in your class if u are not providing public access modifiers then default access modifier is used and it is not possible to decree the access modifiers from public to default in java.
if still not clear the i will let u know more.
Sanjeev
|