Java Networking - Sockets and RMI Question:

What is the difference between URL instance and URLConnection instance?

Tweet Share WhatsApp

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 PDF Read All 10 Java Networking - Sockets and RMI Questions
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?