Computer Applications
Which of the following is not a jump statement in Java?
- return
- jump
- break
- continue
Java Iterative Stmts
3 Likes
Answer
jump
Reason — return, continue and break are jump statements in Java.
Answered By
1 Like
Related Questions
Which of the following is an exit-controlled loop?
- for
- do-while
- while
- None of these
Which of the following is an invalid loop?
- repeat
- while
- do-while
- for
How many times will the following code print "Hello"?
for (int i = 1; i <= 5; i++); { System.out.println("Hello"); }- 0
- 1
- 5
- 4
What will be the output of the following code?
public static void main(String args[]) { int sum = 0; for (int i= 1; i <= 5; i++) { sum = i; } System.out.println(sum); }- 15
- 21
- 5
- 0