int[] shuzu=new int[]{5,9,4,6,7,2,1,3};for(int i+0;i<=shuzu.length;i++){for(int j=0;j{if(shuzu[i+1]{int a=shuzu[i];shuzu[i]=shuzu[i+1];shuzu[i+1]=shuzu[i];}}}