题目内容
下列【1】【2】【3】【4】注释标注的哪行代码有错误?import java.net.*;import java.io.*;public class E {public static void main(String args[]) {URL urlOne,urlTwo = null;try {urlOne = new URL("http://news.baidu.com/"); //【1】urlTwo = new URL("http://www.baidu.com/");//【2】InputStream in = urlOne.openStream();//【3】OutputStream out = urlTwo.openStream();//【4】}catch(Exception exp){}}}
查看答案
搜索结果不匹配?点我反馈