4. Write the differences between branching and looping?
Answers
Answered by
5
Answer:
Branching statements are the statements used to jump the flow of execution from one part of a program to another. ... In Java, continue and break statements are two essential branching statements used with the control statements. The break statement breaks or terminates the loop and transfers the control outside the loop.
Hope this helps u
Answered by
1
Answer:
While branching means a simple forward jump (or two), loop always means a backward jump (either).
#hope this help ♥️
Similar questions