<reponame>banghid/LSTM-GRU-OGRU-from-scratch
class MakhlukHidup():

    def __init__(self):
        self.name = 'notset'

    def setName(self, name = ''):
        self.name = name
    
    def getName(self):
        return self.name

class Burung(MakhlukHidup):
    def __init__(self, name = ''):
        self.name = name
    
    def setName(self, name = ''):
        self.name = name + ' macho'


burung = MakhlukHidup()
print(burung.getName())
burung.setName('Gagak')
print(burung.getName())

burungMacho = Burung('<NAME>')
print(burungMacho.getName())
burungMacho.setName('<NAME>')
print(burungMacho.getName())

class MakhlukHidup():

    def __init__(self):
        self.name = 'notset'

    def setName(self, name = ''):
        self.name = name
    
    def getName(self):
        return self.name

class Burung(MakhlukHidup):
    def __init__(self, name = ''):
        self.name = name
    
    def setName(self, name = ''):
        self.name = name + ' macho'


burung = MakhlukHidup()
print(burung.getName())
burung.setName('Gagak')
print(burung.getName())

burungMacho = Burung('<NAME>')
print(burungMacho.getName())
burungMacho.setName('<NAME>')
print(burungMacho.getName())