Question: are protected variables inherited in java?
Answer: Access Control and Inheritance Methods declared protected in a superclass must either be protected or public in subclasses; they cannot be private. Methods declared private are not inherited at all, so there is no rule for them.