我在这段代码上遇到错误
/**
* This method is called when the order button is clicked.
*/
public void submitOrder(View view) {
int price = quantity * 5;
String PriceMessage = "Total: " + price;
displayMessage(PriceMessage);
}
在Android工作室中,它表示displayMessage();是不可解决的方法。的System.out.println();不起作用。所以我无法展示我想要的东西