This causes the break statement to be executed, breaking out of the loop.
这导致执行break语句,中断循环。
At this point, the break statement causes program execution to break out of the while loop, skipping the else clause.
此时,break语句导致程序执行中断while循环,跳转到else子句。
Why was it unnecessary to include a break statement at the end of each case clause in the monthName method presented in the chapter?
为什么本章中的monthName这个方法里的每个分支,在结尾处不需要包含break语句?
应用推荐