class TraadTeller implements Runnable{ private int id; public TraadTeller(int id){ this.id = id; } @Override public void run(){ for(int i = 0; i <= 9; i++){ System.out.println(id + ": tallet " + i); } } }