判断题

下列代码的输出结果是5。( )

class A():  
    def __init__(self):  
        self.value = 10  
class B(A):  
    def __init__(self):  
        super().__init__()  
        self.value += 5  
b = B()  
print(b.value)
A 正确
B 错误
赣ICP备20007335号-2