第13240题 单选题
下列Python代码中,c.method1()和c.method2()的输出结果分别是?
class Parent():
    def method1(self):
        return "Parent's method1"

class Child(Parent):
    def method1(self):
        return "Child's method1"

    def method2(self):
        return super().method1()

c = Child()
print(c.method1())
print(c.method2())
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析