Assignment #129
///Name: Sam Wilson
///Period: 6
///Program Name: Simple Web Input
///File Name: simpleweb.java
///Date Finished: 6/3/16
import java.net.URL;
import java.util.Scanner;
public class simpleweb
{
public static void main(String[] args) throws Exception
{
URL mURL = new URL("http://llhscp-stw.neocities.org/Intro/Printing+/4/end/link.html");
Scanner webIn = new Scanner(mURL.openStream());
while(webIn.hasNext())
{
String line = webIn.nextLine();
System.out.println(line);
}
webIn.close();
}
}