所以我想知道是否有办法为bluej上的构造函数设置某些东西,比如将布尔值设置为true而不询问它的参数
public SaleItem(String description,
double weight,
boolean canBePickedUp,
double cost)
{
// initialise instance variables
super(description,weight,(canBePickedUp = true));
this.cost = cost;
}