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

Oracle Certified Foundations Associate Java Certification Questions and Discussion
1Z0-811

Moderator: admin

Post Reply
Nusuth
Posts: 3
Joined: Wed Apr 28, 2021 8:26 am
Contact:

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

Post 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.

admin
Site Admin
Posts: 9390
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

The first option is indeed the correct option and marked as the correct option.
If you like our products and services, please help us by posting your review here.

Nusuth
Posts: 3
Joined: Wed Apr 28, 2021 8:26 am
Contact:

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

Post by Nusuth »

eh, right :s
I must have been tired and mixing the colors or something.
Tnx for your time & patience.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest