Angelo Lee's Blog
This is my kingdom .If i don't fight for it ,who will ?
摘要: 判断是否为闰年的方法開始 ----除4 --- 不等於0 ---> 不是閏年 | | 等於0 --- 除100 --- 不等於0 ---> 是閏年 | | 等於0 --- 除400 --- 不等於0 ---> 不是閏年 | | ... 阅读全文
posted @ 2008-12-05 13:30 Angelo Lee 阅读(254) 评论(0) 推荐(0) 编辑
摘要: JAVA排序算法实现代码-快速(Quick Sort)排序/** *JAVA排序算法实现代码-快速(QuickSort)排序。 * *@author老紫竹JAVA世纪网(java2000.net) * */publicclassTest{ publicstaticint[]a={10,32,1,9,5,7,12,0,4,3};//预设数据数组 publicstaticvoidmain(Stringargs[]){ System.out.print("排序前:"); for(inti=0;i<a.length;i++) System.out.printf("% 阅读全文
posted @ 2008-12-05 12:58 Angelo Lee 阅读(199) 评论(0) 推荐(0) 编辑