Skip to content

Commit

Permalink
Trıal
Browse files Browse the repository at this point in the history
  • Loading branch information
Umit-Soylu committed Oct 17, 2020
1 parent 1fdbd7e commit f3aa11d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/com/bilgeadam/java/tutorials/fileIO/asd.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package com.bilgeadam.java.tutorials.fileIO;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class asd {
int test ;
static ha t1 = new ha();
static ha t2 = new ha();

public static void main(String[] args) throws InterruptedException {
t1.start();

try {
t1.join(10);
} catch (InterruptedException e){
System.out.println(t1.getName());
}
ExecutorService s = Executors.newFixedThreadPool(3);
t2.start();
}
}

0 comments on commit f3aa11d

Please sign in to comment.