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
Difference between abstract and concrete class ?
What is the length of a string?
When can you say a graph to be a tree?
What is the difference between static method and instance method in Java?
How do you make an arraylist empty in java?
What is difference between iterator access and index access?
How variables are declared?
What does string [] args mean?
What about static nested classes in java?
Explain the importance of finally block in java?
What is meant by design patterns?
How is a variable stored in memory?
What is meant by class?
What are measurable parameters?
What is the importance of main method in Java?