What is the difference between the continue and break statement?
Answer Posted / hr@tgksolutions.com
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 is final variable?
Explain restrictions for using anonymous inner classes?
What does pointer mean?
Does string isempty check for null?
What are the object and class classes used for?
Explain 5 features introduced in jdk 1.7?
Explain enumeration in java?
When we serialize an object does the serialization mechanism saves its references too?
Does collectionutils isempty check for null?
Difference between Linked list and Queue?
What is java util list?
What are the differences between include directive and include action?
Which is better stringbuffer or stringbuilder?
What is the formula to calculate percentage?
What is diamond operator in java?