Multiple choice technology web technology

Which of the following are keywords? (A) switch (B) integer (C) default (D) boolean (E) object

  1. (B) & (C)

  2. b. (E)

  3. c. (A) & (C)

  4. d. (D)

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

In Java, 'switch' and 'default' are valid keywords. 'integer' is not a keyword (int is), 'boolean' is a valid keyword (primitive type), and 'object' is not a keyword (Object is a class). Option C correctly identifies the keywords.