Added 3rd program
This commit is contained in:
10
Multi3.java
Normal file
10
Multi3.java
Normal file
@@ -0,0 +1,10 @@
|
||||
class Multi3 implements Runnable {
|
||||
public void run(){
|
||||
System.out.println("thread is running..");
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
Multi3 m1 = new Multi3();
|
||||
Thread t1 = new Thread(m1);
|
||||
t1.start();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user