// DrJava saved history v2 int[] x; import java.util.Date; Date[] dl dl Date[] d; d = new Date[3]; d[0] d[0] = new Date(); d[1] = new Date(); d[0].getMonth() d[0].getYear)_ d[0].getYear() d[0].toString() d[2].toString() int[] y; y d[2] = new Date(100, 10, 8); d[2].getYear() d[2].getMonth() d[2].getDay() int[] z = new int[4]; int[] a = {1,2,3,4,8}; a[0] a[4 ] char[] p = new char[4]; char[0] = 'a'; p[0] = 'a'; ArrayDemo.storeChars("hello") ArrayDemo.storeChars("hello")[0] ArrayDemo.storeChars("hello")[3] char[] c = ArrayDemo.storeChars("hello") c[0] c[2] ArrayDemo.storeChars(null) ArrayDemo.storeChars(null) ArrayDemo.storeChars("") ArrayDemo.storeChars("").length() int[] x = new int[0]; x.length() ArrayDemo.storeChars("a") // testing: consider cases 0, 1 and many