摘要:
package array;import java.util.Scanner;public class InputArrayFromKeyboard { public static void main(String args[]){ System.out.println("请输入... 阅读全文
摘要:
package sort;public class BubbleSort { public static int arr[]=new int[10]; static{ System.out.println("before sort:"); for(int i=... 阅读全文
摘要:
转载自:http://blog.csdn.net/breaker892902/article/details/9331425先说一下static 1.static 修饰的域,我们叫静态域,它是归类所有的,被所有对象所共享,只有一个 2.static修饰的区块,域只会初始化一次 3.static修饰的... 阅读全文