class Animal(object):
def eat(self) :
print('Animal eat something')
class Dog(Animal):
def eat
Python——多态的实现
最新推荐文章于 2024-04-18 19:37:44 发布
class Animal(object):
def eat(self) :
print('Animal eat something')
class Dog(Animal):
def eat