單項(xiàng)選擇題

下面哪個方法當(dāng)服務(wù)器關(guān)閉時被調(diào)用,用來釋放Servlet所占的資源。()

A.service()
B.init()
C.doPost()
D.destroy()

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