Python - Encapsulation and Data Protection
What will be the output of this code?
class Cat():
def __init__(self, name):
self.name = name
kitty = Cat('Mittens')
print(kitty.name)