File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Q on Label statements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Q on Label statements" Watch "Q on Label statements" New topic

Q on Label statements

Win jones
Ranch Hand

Joined: Dec 12, 2004
Posts: 38
Hello I have two questions on Label statements they are

1)First one

Output compilation error not a loop label: one continue one;

(2) The second doubt that I have is in this piece of code

Output: - compilation error two not recognized
Joe Borderi
Ranch Hand

Joined: Oct 23, 2004
Posts: 151
The answer to both your questions can be answered by following the rules for valid labels. Briefly, what can be labeled?
Win jones
Ranch Hand

Joined: Dec 12, 2004
Posts: 38
thanks for taking the time, can you point me JLS where it talks about what can be labelled I was unable to find much there ?

thanks again for your post
I agree. Here's the link:
subject: Q on Label statements
jQuery in Action, 3rd edition