Multiple choice technology programming languages

Select the key words, which can not be used to define an identifier.

  1. goto

  2. enum

  3. null

  4. extend

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

goto is reserved keyword (unused in Java), enum was added as keyword in Java 5, null is a literal keyword. These cannot be identifiers. extend is NOT a keyword (extends is keyword, but extend alone is valid identifier).