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
What are the different approaches to implement a function to generate a random number?
Does apple use java?
What are static methods?
Which is the best approach for creating thread ?
Explain about the dynamic behavior of core java?
Is null in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
How to create an interface?
What is anagram of a string?
Can we override compareto method?
How many threads can I run java?
how to write a program for sending mails between client and server
Can we force the garbage collection to run?
What are features of java?
How will you compute size of a structure?