摘要: 简单排序:每次找出最大(小)的数,从头开始依次排序。 1 public static int[] simplySort(int a[]) { 2 for (int i = 0; i array[j+1]) { 7 int temp = arr... 阅读全文
posted @ 2014-10-26 19:03 FJ凉风 阅读(321) 评论(0) 推荐(0)
摘要: 怪兽类 1 package com.lovo; 2 3 public class Monster { 4 private String name; 5 private int hp; //血量 6 private int aggressivit... 阅读全文
posted @ 2014-10-26 09:37 FJ凉风 阅读(250) 评论(0) 推荐(0)