<filename>Chapter 12/ch12_20.py
class Actor:
    def __init__(self):
        self.__name=''
    def setname(self, name):
        print('setname() called')
        self.__name=name
    def getname(self):
        print('getname() called')
        return self.__name
    name=property(getname, setname)
actor1 = Actor()
actor1.name="Salman"
print(actor1.name)
