Multiple choice technology programming languages

Choose the one which is not a branching statement in Java.

  1. return

  2. break

  3. goto

  4. continue

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Java has 'goto' as a reserved keyword but it is not implemented as a branching statement - it has no functionality. 'return', 'break', and 'continue' are all valid branching statements that control flow. The question asks which is NOT a branching statement, making 'goto' (option C) the correct answer despite being syntactically reserved but unusable.