Yes that's true an interface can have only public methods and as well as public variables only, Non-public modifiers are not valid for a method/field inside
java Interface.
therefore even you cannot define explicitly private/protected modified with any of interface method/field, they are by default public.