java is case sensitive: "price" is not the same as "Price":
public void setPrice(double Price) {
this.price=price;
}
Try using the parameter value:
public void setPrice(double Price) {
this.price=Price;
}
Or change the parameter definition:
public void setPrice(double price) {
this.price=price;
}
TBH, the debugger would have shown you that in moments!