Which of the following is not a jump statement?
a. break
b. return
c. System.out
Answers
Answered by
0
Answer:
break is not a jump statement
Answered by
0
"System. out" is not a jump statement. (option c)
- To exit from a loop and jump statement, a break statement is used.
- Break statement is used within for, do-while, while loop, or in a switch statement.
- Return statement terminates a function immediately and gives a value.
- System. out is used with println().
- It prints anything in the console in java.
- System. out. println() is thus displaying a statement and not a jump statement.
- Thus option c is correct.
#SPJ3
Similar questions