what are branching statements in java?
Java provides 3 branching statement named break, continue and return. Branching statements are used to change the normal flow of execution based on some condition. The return statement is used to explicitly return from a method.