JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
Copied from the Threads section of the Java course
*/
class Loader extends Thread {
public void run() {
System.out.println("Hello");
}
}
class MyClass {
public static void main(String[ ] args) {
Loader obj = new Loader();
obj.start();
}
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run