What elements of a base class can and cannot be directly accessed in a derived class in Java?

element that can directly access is the public method and instance variable
element that cannot directly access is the private class and instance variable.

Am I correct ??
Update: element that can directly access is the public method and instance variable
element that cannot directly access is the private method and instance variable.

Am I correct ??
2 answers 2