import java.util.function.Consumer; public class Bang { public static void main(String[] args){ Kode kode= new Kode(); Thread lunte= new Thread(new bombe(kode)); Thread def = new Thread(new Desarmer(kode)); lunte.start(); def.start(); try { def.join(); } catch (InterruptedException e){} lunte.interrupt(); } }