摘要:
1)冒泡排序 public static int[] bubbleSort(int[]a) { int temp; for(int i=0;i<a.length-1;i++) { for(int j=0;j<a.length-1-i;j++) { if(a[j]>a[j+1]) { temp=a[j 阅读全文
摘要:
1. 粉红色的是受检查的异常(checked exceptions),有可以说是一般异常,其必须被 try{}catch语句块所捕获,或者在方法签名里通过throws子句声明.受检查的异常必须在编译时被捕捉处理,命名为 Checked Exception 是因为Java编译器要进行检查,Java虚拟 阅读全文