• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps What will be happen public method in protected class ?

Bee Torika

Newbie
Hi

If a class is declared by protected, but a method inside the class is declared in public,
a method is mode as 'protected' or 'public' ?

I know protected method in public class will be in a mode of 'protected' (right ??),
but how about in opposite case ?

Thanks
 
Back
Top Bottom