单选题
通过Applet的 ( ) 方法,可以得到Applet类文档的URL。
A) getCodeBase () B) getHost () C) getByName () D) getDocumentBase ()
A
B
C
D
【正确答案】
A
【答案解析】
[解析] getCodeBase ()方法返回.class所在的网址URL。
提交答案
关闭