Frage im Vorstellungsgespräch bei Accenture

What is the difference between Private and Protected in Java

Antwort im Vorstellungsgespräch

Anonym

12. Dez. 2019

private = cannot be accessed by other than the class itself protected = can be accessed by other classes as well