Computer Applications
The absence of which statement leads to fall through situation in switch case statement?
- continue
- break
- return
- System.exit(0)
Java Conditional Stmts
ICSE 2023
19 Likes
Answer
break
Reason — The absence of break statement leads to fall through situation in switch case statement.
Answered By
12 Likes
Related Questions
The keyword used to call package in the program:
- extends
- export
- import
- package
What value will
Math.sqrt(Math.ceil(15.3))return?- 16.0
- 16
- 4.0
- 5.0
State the type of loop in the given program segment:
for (int i = 5; i != 0; i -= 2) System.out.println(i);- finite
- infinite
- null
- fixed
Write a method prototype name check() which takes an integer argument and returns a char:
- char check()
- void check (int x)
- check (int x)
- char check (int x)