Multiple choice technology programming languages

Which of the following are Java key words

  1. double

  2. Switch

  3. then

  4. instanceof

Reveal answer Fill a bubble to check yourself
A,D Correct answer
Explanation

double and instanceof are valid Java keywords. Switch is incorrect (must be lowercase 'switch'). 'then' is not a Java keyword (it's used in some other languages but not Java).