|
URL instance represents the location of a resource, and a URLConnection instance
represents a link for accessing or communicating with the resource at the
location............
Read
answer
Connection to the remote object represented by the URL is only initiated when
the connect() method of the URLConnection is called. Doing this initializes a
communication link between your Java program and the URL over the
network.............
Read answer
With the help of the following code you could directly read from the
URL:.............
Read answer
A URI is in the form of a string of characters for the purpose of identifying an
abstract or physical resource. URIs provides a means that is simple and
extensible for identifying a resource..........
Read answer
Java URL architecture is handled by the java.net.URL object instances. It is
utilized to handle the URL string. The methods are of public access
specifications..............
Read
answer
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..................
Read
answer
This class inherits from URLConnection. The HTTP specific features are supported
by this class. Each instance of HttpURLConnection is used to make a single
request...............
Read answer
This class is used to establish a connection to a JAR file or to an entry of the
JAR file. The syntax is..............
Read answer
Answer - We can use Extend Thread class only when the
class......
Explain
the term thread safety and synchronization.
Answer - The term Thread safety means each method in a
multithreaded.....
|