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 use of functional interface in java 8?
How can we handle runtime exceptions? write one sample program? Can we write runtime exceptions beside the throws key word? if yes write sample program?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
how to fing linkedlist is circular or not?
What is OOP Language?
How do I get a substring?
Is static a keyword in java?
what is difference between Action messages and Action errors?
Can we change the value of static variable?
What are the actions that can occur when a thread enters blocked state?
Can a class be private in java?
Do you know how to reverse string in java?