Code:
public class WasBinIch{
private static int x=1;
public WasBinIch(int y){
if(x<32){
x*=2;
new WasBinIch(y+1);
}
System.out.println(y);
}
public static void main(String[] args){
new WasBinIch(1);
}
}
6
5
4
3
2
1
Bei mir kommt dann sowas raus:
1
2
3
4
5
6
:shock: :shock: :shock: :?: :?: :?: :?: :?: :?: