Welcome to my Website!

code

///Name: Mutsu Osoegawa
///Period: 7
///Project Name: Simple Web Input
///File Name: SimpleWebInput.java
///Date: 6/2/2016

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-mko.neocities.org/Intro/printing/4/program4.html");
        Scanner webIn = new Scanner(mURL.openStream());

        String one = webIn.nextLine();
        String two = webIn.nextLine();

        webIn.close();

        System.out.println(one);
        System.out.println(two);
    }
}