Question: Need help writing Java code to read the string from user and the program should construct www.Z.com and replace Z with string read in and
5. Write a program WebRead. java whose main function reads a String from the user. The program should then Construct a URL for http://www.z.com/, replacing z with the String read in, and Print the first five lines of the Web page at that URL. Test your program with 2 different URLs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
