package Test;
public class Test {
//
private String s = "";
//
public static String c[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9",
"0" };
//
public String father = null;
public Test() {
}
/****
*
*
* @param j
* @param t
*/
public void show(int j, Test t) {
for (int i = 0; i < c.length; i++) {
this.s = t.s + c[i];
if (j == 1) {
System.out.println(this.s);
}
if ((j - 1) != 0)
new Test().show(j - 1, this);
else
continue;
}
}
public static void main(String a[]) {
// { "1", "2", "3","4","5","6","7","8","9","0"} 11 ,
new Test().show(11, new Test());
}
}