Question d’entretien chez Accenture

What is the difference between Private and Protected in Java

Réponse à la question d'entretien

Utilisateur anonyme

12 déc. 2019

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