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