我是一名新程序员,我不知道这个回报的结果是什么?我评论它。 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;
}