Demonstrate how to download contents from a URL by using Java