What is the difference between the continue and break statement?
Answers were Sorted based on User's Feedback
Answer / 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 |
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 |
What is difference between char array and string?
What is collection class in java?
Difference between collection, collection and collections in java?
Do we need to manually write Copy Constructor?
What is java full form?
What is deserialization and how do we do deserialization?
What is nullpointerexception in java?
Explain the protected field modifier?
What is default switch case? Give example.
How does thread synchronization occurs inside a monitor?
What are the difference between composition and inheritance in java?
What are the differences between this and super keyword?