Thanks for your answers. Thomas. [ edited to preserve formatting of error message -ds ] [ August 12, 2002: Message edited by: Dirk Schreckmann ]
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
try public interface blabla{} cause default modifier is only accessable for a package. And your class was public. I think this caused the error
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
posted
0
No, the interface may have default (package) access. This isn't a problem. However, inside an interface, all methods are implicitly public (i.e. even though they may not be declared as public). Thus when you implement the methods in a class, the implementing methods must be public as well. And inside a class, you must explicitly declare a method to be public, in order to make it so.