import java.util.Date; /* Class BSTNode */ class Item { int code; String name; double price; int amount; Date receivedDate, expirationDate; /* Constructor */ public Item() { this.code = 0; this.name = null; this.price = 0; this.amount = 0; this.receivedDate = null; this.expirationDate = null; }/* Constructor */ public Item(int code, String name, double price, int amount, Date receivedDate, Date expirationDate) { this.code = code; this.name = name; this.price = price; this.amount = amount; this.receivedDate = receivedDate; this.expirationDate = expirationDate; } public String toString() { return "Item information [code=" + code + ", name=" + name + ", price=" + price + ", amount=" + amount + ", receivedDate=" + receivedDate + ", expirationDate=" + expirationDate + "]"; } }