Multiple choice technology architecture

Which of the following is not keyword or reserved word in Java?

  1. if

  2. then

  3. goto

  4. while

  5. case

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

Java does not use 'then' as a keyword. Words like 'if', 'while', 'case' are keywords. 'goto' is a reserved word (not used but reserved for future potential use).