Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is the difference between URL and URLConnection?
The URL has a number of component parts. The URL locates a the resource over the internet. The URL class encapsulates Internet URLs. In a way, it does for the Internet resources what the File class does for local files. 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.