The correct answer is:
(c) protected member
Explanation: In Java, when a class member (variable or method) is declared as protected, it means that the member is accessible within its own class, in subclasses (including those in different packages), and in the same package. When this member is inherited by a subclass, it retains its protected visibility in the subclass. Therefore, the subclass member remains a protected member.
In summary:
- The
protected access modifier allows access to the member by subclasses (even if they are in different packages) but not by other unrelated classes.