PPT Slide
One can also use “openConnection()” to connect to a URL. This creates a communication link between your Java program and the URL over the network. For example:
new URL("http://www.blarg.foo.org/");
catch (MalformedURLException e)
One can then interact with the remote URL. (E.g., POST information to web pages