Computer Applications
Absence of which statement causes a fall-through in a switch statement.
- continue
- break
- stop
- fall
Java Conditional Stmts
5 Likes
Answer
break
Reason — In the absence of break statement, the control flows to the next case below the matching case leading to fall-through.
Answered By
3 Likes
Related Questions
The Math class is part of which Java library package.
- java.util
- java.io
- java.random
- java.lang
Which clause is optional in a switch statement?
- switch
- case
- default
- none of the above
By default, the if-part and else-part of an if statement can contain these many statements in it.
- 2
- 1
- 5
- as many
Which of the following loops is mostly used for fixed number of iterations ?
- for
- do-while
- while
- none of the above