摘要:
//二分查找 public static boolean BinarySearch(int target,int[] array){ int left = 0; int right = array.length - 1; while (left <= right) { int middle = (l 阅读全文
摘要:
public class Person { protected String name="person"; /** * 若只存在有参构造,不存在无参构造,则子类直接调用无参构造会报错 */ public Person(){ System.out.println("Person无参构造函数执行"); 阅读全文