[單項(xiàng)選擇題] 下列關(guān)于Applet的方法中,哪個(gè)是返回HTML中設(shè)定的值A(chǔ))getCodeBase( ) B)getParameter(String)C.
2021-07-20
[單項(xiàng)選擇題] 下列關(guān)于Applet的方法中,哪個(gè)是返回HTML中設(shè)定的值
A)getCodeBase( )
B)getParameter(String)C.getApplnfo( )
D)showStatus(String)
A.getCodeBase( )B)getParameter(String)
C.getApplnfo( )
D)showStatus(String)
正確答案:
B
參考解析:解析:getCoddeBase( )方法返回.class所在的網(wǎng)址URL;getParameter (String)方法返回HTML中設(shè)定的值;getApplnfo( )方法返回作者、版本、版權(quán)信息;show- Status(String)方法在瀏覽器的狀態(tài)欄輸出信息。
詞條內(nèi)容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。