Assignment 129

Code

    import java.net.URL;
    import java.util.Scanner;
    
    public class last {
    
        public static void main(String[] args) throws Exception {
    
            URL mURL = new URL("http://llhscp-clh.neocities.org/spoop.txt");
            Scanner webIn = new Scanner(mURL.openStream());
    
            while (webIn.hasNext())
            {
                String one = webIn.nextLine();
                System.out.println(one);
            }
    
            webIn.close();
    
            
        }
    }
    

Picture of the output

Assignment