單項(xiàng)選擇題

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

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

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