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 ► 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.