Python - Encapsulation and Data Protection
What will be printed when the following code is executed?
class Container:
def __init__(self):
self.__volume = 10
def volume(self):
return self.__volume
c = Container()
print(c.volume())