Giovanni Pace
I'll show a concrete encapsulation example implemented in Java starting from a UML class diagram. Let's go step by step from the graphical representation to the real code.