A URL object represents a URL.
URL
The URL class contains methods to
create new URLs
parse the different parts of a URL
get an input stream from a URL so you can read data from a server
get content from the server as a Java object