Assignemnt #129 and Simple Web Input

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Simple Web Input
    ///File Name: SimpleWebInput
    ///Date Finished: 3/30/16
    
    import java.net.URL;
    import java.util.Scanner;
    
    public class SimpleWebInput {
    
        public static void main(String[] args) throws Exception {
    
            URL mURL = new URL("http://llhscp.neocities.org/courses/apcs/apcs.html");
            Scanner webIn = new Scanner(mURL.openStream());
    
            while(webIn.hasNext())
            {
                String one = webIn.nextLine();
                System.out.println(one);
            }
            
            webIn.close();
    
        }
    }


    

Picture of the output

Assignment 129