11-04-2014, 02:32 PM
UNIFORM RESOURCE LOCATOR (URL)
AIM
To retrieve the data using Uniform Resource Locators
ALGORITHM
Step 1: Start the Program.
Step 2: Create an object for the URL class.
Step 3: Specify the address from which the data is to be retrieved inside the URL class
Step 4: Open the URL connection
Step 5: Request the content Length, modified date etc. using appropriate the methods.
Step 6: Display the contents to the user
Step 7: Stop the program
RESULT
Thus the program for retrieving the data using URL is executed and the output is verified successfully