unknown host exception
问题 try { { long startTime = System.currentTimeMillis(); String source="s"; String source1="s"; URL google = new URL("http://google.com/"); HttpURLConnection yc =(HttpURLConnection)google.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) { source=source.concat(inputLine); } in.close(); yc.disconnect(); } long endTime1 = System.currentTimeMillis(); System.out.println("Total elapsed