+ 2

Python, classes and access modifiers

By SL quizzes, I apprehend you can access a class's private attributes from the outside. Is it so? And if so, doesn't this violate encapsulation principle?

18th Sep 2019, 12:18 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
1 Resposta
0
Even though I don't get anything in what I am seeing...
21st Sep 2019, 11:16 AM
Hilary
Hilary - avatar