第30059题 单选题
运行以下Python代码,最终的输出结果是?
class Student:
    school = '某某大学'
    def __init__(self, name):
        self.name = name

    @classmethod
    def set_school(cls, new_school):
        cls.school = new_school

    @staticmethod
    def get_info():
        return '这是学生类'

s1 = Student('张三')
s2 = Student('李四')
Student.set_school('清华大学')
print(s1.school, s2.school, Student.get_info())
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析