what is the difference between branching statement and selection statement in java ?
Answers
Answered by
5
Answer:
Branching statements allow the flow of execution to jump to a different part of the program. The common branching statements used within other control structures include: break , continue , return , and goto .
Selection Statements. ... Selection statements allow a program to test several conditions, and execute instructions based on which condition is true. That is why selection statements are also referred to as conditional statements
Similar questions