單項選擇題

下列Thread類的方法中哪個可以被重寫?()。

A.sleep(long)
B.setPriority(int)
C.setDaemon(boolean)
D.run()

微信掃碼免費搜題