摘要: //冒泡排序public class Demo6 { public static void main(String[] args) { int []age = {1,2,36,363,56,95,12,32,1232,3263}; for (int i = 0; i age[j]){ ... 阅读全文
posted @ 2014-11-28 23:36 wikiki 阅读(161) 评论(0) 推荐(0) 编辑
摘要: http://tieba.baidu.com/p/3064841707 阅读全文
posted @ 2014-11-28 22:23 wikiki 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 一:买票的案例:通过Thread 和Runale实现多线程//通过Thread实现package mypack;class Ticket extends Thread{ private static int ticket=100; public void run() { ... 阅读全文
posted @ 2014-11-28 10:02 wikiki 阅读(242) 评论(0) 推荐(0) 编辑
摘要: package mypack;public class Outer { Inner1 w = new Inner1(); /** * @param args */ public static void main(String[] args) { // TODO Auto-generated m... 阅读全文
posted @ 2014-11-28 09:20 wikiki 阅读(1406) 评论(0) 推荐(0) 编辑