In fact, this example would compile because you can use curly braces in this way to encapsulate lines of code, but realize for now, that, not good.
实际上,这个例子可以编译,因为你可以用这种方式来压缩代码行,但是请认识到,那个,不太好。
But for now, it's probably simpler just always use the curly braces just to get into the habit.
但是现在,简单起见,你可以,养成每次都使用花括号的习惯。
应用推荐