class Kjopebrus implements Runnable { BrusMaskin bm; public Kjopebrus(BrusMaskin bm){ this.bm = bm; } public void run(){ for(int i = 0; i < 10; i++){ bm.kjopBrus(); } } }