Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is the difference between a break statement and a continue statement?

6 like 0 dislike
Hello
What is the difference between a break statement and a continue statement in java?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

1 Answer

1 like 0 dislike
 
Best answer
A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the loop statement.
answered 1 year ago by eagles11 (179,830 points)

Related questions

5 like 0 dislike
1 answer
3 like 0 dislike
0 answers
7 like 0 dislike
1 answer
6 like 0 dislike
1 answer