單項(xiàng)選擇題

面向?qū)ο缶幊讨?,哪個(gè)關(guān)鍵字用于定義類(lèi)的靜態(tài)方法?()

A.static
B.def
C.class
D.@staticmethod

微信掃碼免費(fèi)搜題