42. 在 Python 中,若使用類別(class),什麼方法用於定義物件的字串表示形式?
(A) __init__()
(B) __str__()
(C) __del__()
(D) __call__()

答案:登入後查看
統計: A(0), B(4), C(1), D(0), E(0) #3494477

詳解 (共 1 筆)

#6566855
正確答案是:(B) __str__()...
(共 382 字,隱藏中)
前往觀看
1
0