public class Test { public Test() { cfb(1); } public static void cfb(int j) { for(int i=1;i<=j;i++) { System.out.print(j+"*"+i+"="+j*i+"\t"); } if(j+1<=9) { System.out.println(); cfb(j+1); } } public static void main(String args[]) { Test test=new Test(); } }