java例程练习(引用类型数据的排序和查找)[外篇]
摘要:
public class TestSort { public static void main(String[] args) { Date[] days = new Date[5]; //定义5个Date days[0] = new Date(2006, 8, 6); days[1] = new Date(2007, 4, 6); days[2] = new Date(2008, 4, 9); days[3] = new Date(2004, 4, 6); days[4] = new Date(2009, 4, 5); //要找的Date Date... 阅读全文