How can you implement encapsulation in Python?
By using private variables and methods
By defining multiple methods with the same name in a class
By creating a new instance of a class
By using the @property decorator
This question is part of this quiz :
Python OOPs quiz