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 is a primitive type keyword and instanceof is an operator keyword in Java. 'Switch' is incorrect because Java is case-sensitive - the keyword is 'switch'. 'then' is not a Java keyword.