Page 1 of 1

About Question com.enthuware.jfcja.v8.2.275 :

Posted: Fri Apr 30, 2021 9:39 am
by Nusuth
I don't understand why the first option isn't correct :
- break without a label, can occur only in a switch, while, do, or for statement.

even the explanation says :
A break statement with no label attempts to transfer control to the innermost enclosing switch, while, do, or for statement; this statement, which is called the break target, then immediately completes normally. If no switch, while, do, or for statement encloses the break statement, a compile-time error occurs.

Re: About Question com.enthuware.jfcja.v8.2.275 :

Posted: Fri Apr 30, 2021 12:42 pm
by admin
The first option is indeed the correct option and marked as the correct option.

Re: About Question com.enthuware.jfcja.v8.2.275 :

Posted: Sun May 02, 2021 5:56 am
by Nusuth
eh, right :s
I must have been tired and mixing the colors or something.
Tnx for your time & patience.