View Single Post
  #2 (permalink)  
Old 04-04-2008, 09:04 AM
sanjeevtarar's Avatar
sanjeevtarar sanjeevtarar is offline
Senior Member
 
Join Date: Apr 2008
Location: Delhi(India)
Posts: 251
sanjeevtarar is on a distinguished road
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
Reply With Quote