import java.util.Date; /* Class BSTNode */ class Item { int code; String name; Date birthDate; String address; int classId; Date enrollmentDate; byte status; // undergrad = 1, graduate = 2 /* Constructor */ public Item() { this.code = 0; this.name = null; this.birthDate = null; this.address = null; this.classId = 0; this.enrollmentDate = null; this.status = 0; } /* Constructor */ public Item(int code, String name, Date birthDate, String address, int classId, Date enrollmentDate, byte status) { this.code = code; this.name = name; this.birthDate = birthDate; this.address = address; this.classId = classId; this.enrollmentDate = enrollmentDate; this.status = status; } public String toString() { return "Student information [Code=" + code + ", Name=" + name + ", Birth Date=" + birthDate + ", Address=" + address + ", classId=" + classId + ", Enrollment Date=" + enrollmentDate + ", Status=" + status + "]"; } }