请定义子类Cat重载父类Animal的sound方法,填写如下横线上的内容。class Cat(Animal): def sound(self): print "The sound of cat goes meow ~">>> cat = Cat('kawaii')>>> cat. getInfo()____________________>>> cat.sound()The sound of cat goes meow ~ 内容 方法 重载 发布时间:2024-05-14 08:53:45