???????写???????1??8??5??2??4??9??7??????????胁?????????梅?????

????????????????

int[] a={1??8??5??2??4??9??7};
  for(int i=0;i<a.length;i++){
   for(int j=i+1;j<a.length;j++){
    if(a[i]>a[j]){
     //???????位?y???????
     int k=a[i];
     a[i]=a[j];
     a[j]=k;
    }
   }
   System.out.print(a[i]+"??");
  }

???????????????????????????????????????????????for????????????????????????????????????????????????械????????????????小????????????????????????????????????????

??????????????????????

//???????? ??? ?????????????????? ??????????????小????? ??锟�??? ?????? ?????? ?????效
  TreeMap demo = new  TreeMap();
     demo.put("1"??null);
     demo.put("8"??null);
     demo.put("5"??null);
     demo.put("2"??null);
     demo.put("4"??null);
     demo.put("9"??null);
     demo.put("7"??null);
     Iterator it= demo.keySet().iterator();
     while(it.hasNext()){
       System.out.print(it.next()+"??");
     }
     it.remove();
     demo.clear();

?????????????????????????????????????婕�??

???????????????????????????????????缍�????

????????????????????????

???????????????????????????????????

????1.????????????????oracle??DB2??MS SQL Server??Mysql????DDL写???????濉�

????2.?谐????????????????????????

????3.???????位?????????????????婕�?????????

????4.?谐?????????????2012/3/1??2012/3/7????????????????

???????????婕�?????锌???????????????????????????????????????????????????????写???????IT?????????写???????????????????????????????????????????