摘要: public class A {public String show(D obj) {return ("A and D");}public String show(A obj) {return ("A and A");} }class B extends A{public String show(B 阅读全文
posted @ 2017-07-26 13:45 hou-xudong 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 一、冒泡排序 1、原理:从数组的第一个位置开始两两比较array[index]和array[index+1],如果array[index]大于array[index+1]则交换array[index]和array[index+1]的位置,止到数组结束; 从数组的第一个位置开始,重复上面的动作,止到数 阅读全文
posted @ 2017-07-26 13:37 hou-xudong 阅读(172) 评论(0) 推荐(0) 编辑