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
Can an interface have a constructor?
Does java support function overloading, pointers, structures, unions or linked lists?
Can we overload final method in java?
Write a java program to print fibonacci series?
Can a class be protected in java?
What is the symbol for average?
What is heterogeneous in java?
what is a thread pool in java and why is it used?
Describe the term diamond problem.
What is a constructor overloading in java?
Is java hard to learn?
What is final keyword in java?
Difference between stack and queue?
What does index mean in java?
What is an error in java?