import java.lang.Thread;      class threads extends Thread {          String text;                  public threads(String text) {            this.text = text;          }                  public void run() {            for(int i = 0; i < 10; i++) {              try {                sleep((int)(Math.random()*1000));              }              catch(InterruptedException e) {              }             System.out.print(text);            }          }        }                public class thread {                  public static void main(String args[]) {             threads a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z;                     a = new threads("a");             b = new threads("b");             c = new threads("c");             d = new threads("d");             e = new threads("e");             f = new threads("f");             g = new threads("g");             h = new threads("h");             i = new threads("i");             j = new threads("j");             k = new threads("k");             l = new threads("l");             m = new threads("m");             n = new threads("n");             o = new threads("o");             p = new threads("p");             q = new threads("q");             r = new threads("r");             s = new threads("s");             t = new threads("t");             u = new threads("u");             v = new threads("v");             w = new threads("w");             x = new threads("x");             y = new threads("y");             z = new threads("z");                           a.start();             b.start();             c.start();             d.start();             e.start();             f.start();             g.start();             h.start();             i.start();             j.start();             k.start();             l.start();             m.start();             n.start();             o.start();             p.start();             q.start();             r.start();             s.start();             t.start();             u.start();             v.start();             w.start();             x.start();             y.start();             z.start();                        }                }