第26838题 单选题
以下Python代码中MyClass类的构造函数被调用了多少次?
import copy
class MyClass:
    def __init__(self):
        print("Constructor called!")
if __name__ == "__main__":
    obj1 = MyClass()
    obj2 = copy.deepcopy(obj1)
A

1

B

2

C

3

D

0

程序运行统计
暂无判题统计