Java Networking - Sockets and RMI Question:

Download Job Interview Questions and Answers PDF

What is the difference between URL instance and URLConnection instance?

Java Networking - Sockets and RMI Interview Question
Java Networking - Sockets and RMI Interview Question

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?