1
0
mirror of synced 2024-11-25 18:54:23 +01:00
This commit is contained in:
Tal 2020-10-06 13:52:41 -05:00 committed by GitHub
parent 6c073b08f7
commit 18d37277b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
main.java Normal file
View File

@ -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);
}
}