Why do try..catch blocks require braces?

前端 未结 0 775
一个人的身影
一个人的身影 2021-02-11 12:59

While in other statements like if ... else you can avoid braces if there is only one instruction in a block, you cannot do that with try ... catch blocks: the compiler doesn\'t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题