Computer Applications
Which clause is optional in a switch statement?
- switch
- case
- default
- none of the above
Related Questions
ch += 2 is equivalent to
- ch = ch + 2
- ch + 2
- ch =+ 2
- none of the above
The Math class is part of which Java library package.
- java.util
- java.io
- java.random
- java.lang
Absence of which statement causes a fall-through in a switch statement.
- continue
- break
- stop
- fall
By default, the if-part and else-part of an if statement can contain these many statements in it.
- 2
- 1
- 5
- as many