What is the difference between the continue and break statement?
Answer Posted / nashiinformaticssolutions
Two crucial words that are utilized in loops are break and continue. When a loop has a break keyword, the loop ends immediately. When the continue keyword is used, the current iteration ends and the loop moves on to the following iteration.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is java a utf 8 string?
Which sort is best in java?
Can there be an abstract method without an abstract class?
What is implicit object in java?
What does compareto () do in java?
What restrictions are placed on method overloading?
What do you mean by jjs in java8?
What is the difference between an if statement and a switch statement?
What are different access specifiers in java?
When is the arraystoreexception thrown?
Why volatile is used in java?
Is arraylist zero based?
Can we make constructors static?
What is jagged array in java?
How to perform linear search in java?