A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
10
Task/HTTP/Java/http-1.java
Normal file
10
Task/HTTP/Java/http-1.java
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import java.util.Scanner;
|
||||
import java.net.URL;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) throws Exception {
|
||||
Scanner sc = new Scanner(new URL("http://www.rosettacode.org").openStream());
|
||||
while (sc.hasNext())
|
||||
System.out.println(sc.nextLine());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue