/Users/andrea/_magisterarbeit/korpus/clean/testkorpus/32/file11.html NN ----------------------------------------- : The DT JavaTM NP Tutorial NN The DT unlabeled JJ form NN of IN the DT break NN statement NN , , break NN , , is VBZ used VVN to TO terminate VV the DT innermost JJ switch NN , , for IN , , while IN , , or CC do VVP while IN . SENT the DT labeled VVN form NN terminates VVZ an DT outer JJ statement NN , , which WDT is VBZ identified VVN by IN the DT label NN specified VVN in IN the DT break NN statement NN . SENT The DT following VVG program NN , , BreakWithLabelDemo NP , , is VBZ similar JJ to TO the DT previous JJ one CD , , but CC it PP searches VVZ for IN a DT value NN in IN a DT two CD dimensional JJ array NN . SENT Two CD nested VVN for IN loops NNS traverse RB the DT array NN . SENT When WRB the DT value NN is VBZ found VVN , , a DT labeled VVN break NN terminates VVZ the DT statement NN labeled VVD search NN , , which WDT is VBZ the DT outer JJ for IN loop NN . SENT public JJ class NN BreakWithLabelDemo NP public JJ static JJ void NN main JJ String NP args NNS int NP arrayOfInts NNS 32 CD , , 87 CD , , 3 CD , , 589 CD , , 12 CD , , 1076 CD , , 2000 CD , , 8 CD , , 622 CD , , 127 CD , , 77 CD , , 955 CD . SENT int NP searchfor NP 12 CD . SENT int NP i NP 0 CD . SENT int NP j NN 0 CD . SENT boolean JJ foundIt NN false JJ . SENT search NN . SENT for IN . SENT i NP arrayOfInts NNS . SENT length NN . SENT i NP for IN j NN 0 CD . SENT j NN arrayOfInts NNS i NP . SENT length NN . SENT j NN if IN arrayOfInts NNS i NP j NN searchfor NN foundIt NN true JJ . SENT break NN search NN . SENT if IN foundIt NP System NP . SENT out RB . SENT println NNS Found VVD searchfor NN at IN i NP , , j NN . SENT else RB System NP . SENT out RB . SENT println NN searchfor NN not RB in IN the DT array NN . SENT The DT output NN of IN this DT program NN is VBZ . SENT Found VVN 12 CD at IN 1 CD , , 0 CD This DT syntax NN can MD be VB a DT little RB confusing JJ . SENT The DT break NN statement NN terminates VVZ the DT labeled VVN statement NN . SENT it PP does VVZ not RB transfer VV the DT flow NN of IN control NN to TO the DT label NN . SENT The DT flow NN of IN control NN transfers NNS to TO the DT statement NN immediately RB following VVG the DT labeled VVN terminated VVN statement NN . SENT