Brief about java.net.URL class

Brief about java.net.URL class

URL 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.
Brief about java.net.HttpURLConnection class
java.net.HttpURLConnection class - This class inherits from URLConnection. The HTTP specific features are supported by this class....
Java - Brief about java.net.JarURLConnection class
java.net.JarURLConnection class - This class is used to establish a connection to a JAR file or to an entry of the JAR file. The syntax is...
Explain how to create and use sockets in java
creating client socket : socket=new Socket('localhost',4000); //InetAddress.getByName ('127.0.0.1')...
Post your comment