• 2022-05-29
    Student是一个学生类,其构造函数的声明为def __init__(self, name, score),对Student类进行实例化生成对象stu1,正确的是
    A: stu1 = Student('xiaoming',89)
    B: stu1 = Student(stu1,'xiaoming',89)
    C: xiaoming = Student(stu1,89)
    D: stu1 = Student(89,'xiaoming')