import java.util.concurrent.locks.ReentrantLock;
public class Thread1 {
public static ReentrantLock lock = new ReentrantLock();
public static void main(String[] args) {
Thread t =...
Type: Posts; User: cagberk
import java.util.concurrent.locks.ReentrantLock;
public class Thread1 {
public static ReentrantLock lock = new ReentrantLock();
public static void main(String[] args) {
Thread t =...
import java.util.ArrayList;
public class 2 {
public static float ortalama(ArrayList<Integer> x) {
return (float) x.stream().mapToInt(i -> i).average().getAsDouble();
}
public...