Computer Science, asked by virendrasingh8840, 3 months ago

49. Which of the following statements involves a fall-through?

Answers

Answered by karthic18
1

Answer:

Could you specify the Qn?

If it is FALL-THROUGH as in Switch Case in Java look for "breaks" between cases

Explanation:

Example:

case 1:

//Statement

break; --> If something like this is absent between two cases, then it leads to a FALL-THROUGH

case 2:

//Statements

break;

default:

//Statements

Answered by freedarajesh2003
1

Answer:

Explanation:

Fall through is a situation in java program takes place when the loop misses out a break statement between the different cases.  

Explanation:  

The following general rule in fall through the behavior of switch statement.

The switch statement terminates, whenever it reaches a break statement, and the action jumps to the line after the switch statement.

In a switch statement if no break appears, then the control will fall through to subsequent cases till it hit a break statement in the loop.

Similar questions