我是一名新程序員,我不知道這個回報的結果是什麼?我評論它。 if()跟在{}之後嗎?謝謝一個簡單的代碼,返回的結果是什麼?
public void blow(int amount)
{
if (this.popped)
return; //what is this? true or false
this.radius += amount;
if (this.radius <= this.maxRadius)
return; // what is this?
this.radius = 0;
this.popped = true;
}