多选题在J2EE中,URL类代表了统一资源定位器,如果要使用 “http://www.sina.com.cn/index.html”生成URL对象,可以按照如下的()造该对象。AURL url=new URL(http,www.sina.com.cn/index.html,80);BURL url=new URL(http://www.sina.com.cn/index.html);CURL url=new URL(http,www.sina.com.cn,80,index.html);DUrl url=

题目
多选题
在J2EE中,URL类代表了统一资源定位器,如果要使用 “http://www.sina.com.cn/index.html”生成URL对象,可以按照如下的()造该对象。
A

URL url=new URL(http,www.sina.com.cn/index.html,80);

B

URL url=new URL(http://www.sina.com.cn/index.html);

C

URL url=new URL(http,www.sina.com.cn,80,index.html);

D

Url url=new URL(http,www.sina.com.cn/index.html);

参考答案和解析
正确答案: A,D
解析: 暂无解析
更多“多选题在J2EE中,URL类代表了统一资源定位器,如果要使用 “http://www.sina.com.cn/index.html”生成URL对象,可以按照如下的()造该对象。AURL url=new URL(http,www.sina.com.cn/index.html,80);BURL url=new URL(http://www.sina.com.cn/index.html);CURL url=new URL(http,www.sina.com.cn,80,index.html);DUrl url=”相关问题