Skip to content

Commit 6d581bc

Browse files
committed
Funzies
1 parent fe210f1 commit 6d581bc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎HelloWorld.java‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
public class HelloWorld implements Runnable {
2-
String str;
2+
String str;
33
long pause;
44
int index;
55
HelloWorld(String str, long pause) {
@@ -19,4 +19,8 @@ public void run() {
1919
e.printStackTrace();
2020
}
2121
}
22+
public static void main(String[] args) {
23+
Thread t = new Thread(new HelloWorld("Hello World", 500));
24+
t.start();
25+
}
2226
}

0 commit comments

Comments
 (0)