08 2013 档案

摘要:lstring.java //字符串抽象数据类型的接口定义public interface IString { public void clear(); //将一个已经存在的串置成空串 public boolean isEmpty(); //判断当前串是否为空,为空则返回true,否则返回false public int length(); ... 阅读全文
posted @ 2013-08-24 16:59 elite_2012 阅读(1332) 评论(0) 推荐(0) 编辑
摘要:import java.util.Random;public class RandomNumber{ public static void main (String args[]) { Random rnd = new Random(); int intnums[] = new int[2... 阅读全文
posted @ 2013-08-14 16:58 elite_2012 阅读(131) 评论(0) 推荐(0) 编辑
摘要:public class SelectSort { public static void main(String[] args) { // TODO Auto-generated method stub int n,min,i,j,temp; int a[]= {25,34,2,5,35,65,72,8,5,73}; fo... 阅读全文
posted @ 2013-08-14 15:27 elite_2012 阅读(147) 评论(0) 推荐(0) 编辑
摘要:public class MySort{ public static void main(String[] args){ int score[] = {67, 69, 75, 87, 89, 90, 99, 100}; System.out.print("排序前结果:"); for(int a = 0; a < score.length; a++){ System.out.print(score[a]+" " ); } for (int i = 0; i < score.length... 阅读全文
posted @ 2013-08-12 15:55 elite_2012 阅读(261) 评论(0) 推荐(0) 编辑
摘要:出现这种情况一般是没有在web.xml里设置过滤器 阅读全文
posted @ 2013-08-03 08:50 elite_2012 阅读(182) 评论(0) 推荐(0) 编辑