Younger, I learned there were 3 properties of the Object-Oriented paradigm: In Java, encapsulation is implemented through usage of private attributes with accessors methods commonly known as getters and setters. Whether this is proper encapsulation is subject to debate and is outside the scope of this article.


Vous devez vous inscrire ou vous connecter pour poster un commentaire