diff --git a/main.java b/main.java new file mode 100644 index 0000000..8b0502b --- /dev/null +++ b/main.java @@ -0,0 +1,9 @@ +public class Main { + + public static main(String[] args) { + URL url = new URL("http://joinis.is"); + String response = new BufferedReader(new InputStreamReader(url.openStream())).readLine(); + System.out.println(response); + } + +}