class AlfabetGjennomgang implements Runnable{ private String a = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; @Override public void run(){ try{ for(int i = 0; i < a.length(); i++){ Thread.sleep(1000); System.out.println(a.charAt(i)); } } catch(InterruptedException e){ System.out.println("Interrupted."); } } }