Question: Which is the correct access specifier when you want a member of the class to be accessed by the subclass but not others outside the
Which is the correct access specifier when you want a member of the class to be accessed by the subclass but not others outside the class or subclass?
public
private
protected
package
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
