这是代码:
// Default constructor
public Bestellung() {
this(null, null, null);
}
// Initial constructor
public Bestellung(LocalDateTime zeitstempelBestellung, LocalDateTime zeitstempelAuslieferung,
PizzaVO[] warenkorb, int index) {
super();
this.zeitstempelBestellung = zeitstempelBestellung;
this.zeitstempelAuslieferung = zeitstempelAuslieferung;
this.warenkorb = warenkorb;
this.index = index;
}
我希望完成默认构造函数。因此,我需要将两个localDateTimes、一个空数组和一个int传递给构造函数。如何传递空数组?