0
Difference b/t private modifier and protected
2 Answers
+ 7
Pls use the search bar in the Q&A. You'll find the answer...
https://www.sololearn.com/discuss/710553/?ref=app
+ 3
With private, ONLY the class the member was declared in can access the member.
While protected allows sub classes to access the member. This also includes access to the same class, and from packages.