Explain break statement and continue statement?

Answer Posted / ravikiran(aptech mumbai)

break statement will through you out of the loop.
where as continue will aboandon the current iteration and
will make you to continue with next iteration

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is command line used for?

600


Is java good for beginners?

583


What is broken and continue statement?

535


How can we make string upper case or lower case?

603


What is string substring?

563






What are the supported platforms by java programming language?

573


What are the core java topics?

570


how can you take care of mutual exclusion using java threads? : Java thread

615


What is the difference between == and === javascript?

579


How arrays are stored in memory in java?

513


What is ‘is-a ‘ relationship in java?

593


Why charat is used in java?

554


What is difference between adapter class and listener?

504


What do you mean by boolean?

580


Define linked list and its features with signature?

543