Brief about java.net.URL classURL is represented to identify or to point to a resource [a web portal / web page] on the WWW. A file or a directory or a reference to an object makes the resource for URL. An URL can optionally be specified a port number to which TCP connection is made to a remote host machine. If the port number or port or host name is not specified, the value is inherited for the specified by the URL.
|