Link to home
Start Free TrialLog in
Avatar of letsbedecent
letsbedecent

asked on

which access modifiers cant be used for methods in an interface ??

public, private, static, protected, default :o), and whatever are there in java...
Avatar of aozarov
aozarov

methods inside an interface are ALWAYS going to be public.
ASKER CERTIFIED SOLUTION
Avatar of aozarov
aozarov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
putting something else (static, private protected) to a method should yeild a compilcation error.