class Gange extends Thread{ private int id; public Gange(int id){ super(); this.id = id; } public void run(){ for(int i = 0; i <= 10; i++){ System.out.println(id + " * " + i + " = " + id*i); } } }