Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- URL myURL = new URL("");
- URLConnection myURLConnection = myURL.openConnection();
- myURLConnection.connect();
- } catch (MalformedURLException e) { // new URL() failed
- } catch (IOException e) { // openConnection() failed
- }
Add Comment
Please, Sign In to add comment