Skip to content

Instantly share code, notes, and snippets.

@yusuke
Last active September 25, 2017 08:03

Revisions

  1. yusuke revised this gist Sep 25, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Main.java
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    public class Main {
    public static void main(String[] args) {
    System.out.println("Hello World");
    System.out.println("Hello GitHub");
    for (int i = 0; i < 100; i++) {
    System.out.println(i);
    }
  2. yusuke revised this gist Sep 25, 2017. 1 changed file with 4 additions and 9 deletions.
    13 changes: 4 additions & 9 deletions Main.java
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,8 @@
    public class Main {
    public static void main(String[] args) {
    try{
    System.out.println("Hello World");
    Thread.sleep(1000);
    for (int i = 0; i < 100; i++) {
    System.out.println(i);
    }
    } catch (InterruptedException e) {
    e.printStackTrace();
    System.out.println("Hello World");
    for (int i = 0; i < 100; i++) {
    System.out.println(i);
    }
    }
    }
    }
  3. yusuke created this gist Sep 25, 2017.
    13 changes: 13 additions & 0 deletions Main.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    public class Main {
    public static void main(String[] args) {
    try{
    System.out.println("Hello World");
    Thread.sleep(1000);
    for (int i = 0; i < 100; i++) {
    System.out.println(i);
    }
    } catch (InterruptedException e) {
    e.printStackTrace();
    }
    }
    }