Although this requirement usually is met by using a jump statement, the following case also is valid, because the end of the statement list cannot be reached.
虽然通常使用跳转语句满足此要求,但以下情况下也有效,因为无法到达语句列表的末尾。
"When I was 10 years old, I promised myself that if I ever had the opportunity to write this book, I would jump at the chance, " Colfer said in a statement Wednesday.
“我10岁的时候就答应自己,如果将来有机会写书,我一定会抓住找个机会,”科尔弗周三的时候说。
The statements on line 1, 2, and 3, and the comparison on line 4, all form one basic block that ends with the conditional jump implementing the if statement.
行是声明行,第四行上是比较,所有这些组成了以传统跳跃执行结尾的基本块。
应用推荐