欢迎来到计算机考试题库网 计算机题库官网
logo
全部科目 > java工程师信产部认证考试

多项选择题

在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");

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题