Categories Computer A member variable or method prefixed by the protected access modifier can be accessed: Post author By esimpk Post date June 15, 2021 No Comments on A member variable or method prefixed by the protected access modifier can be accessed: ► Within the same class ► Within the sub-class ► Within the same package ► All of the above ← What if the main method is declared as private? → n Java a final class must be sub-classed before it. Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment.