多項選擇題

在J2EE中,URL類代表了統(tǒng)一資源定位器,如果要使用 “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");

微信掃碼免費搜題