Java Networking - Sockets and RMI Question:
Download Questions PDF

What is the difference between URL instance and URLConnection instance?

Answer:

A 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.

Download Java Networking - Sockets and RMI Interview Questions And Answers PDF

Previous QuestionNext Question
How do I make a connection to URL?What interface must an object implement before it can be written to a stream as an object?