Which of the following is NOT a valid Java keyword?
2025
Which of the following is NOT a valid Java keyword?
- A.
goto
- B.
interface
- C.
volatile
- D.
include
Attempted by 77 students.
Show answer & explanation
Correct answer: D
Java has a fixed set of reserved keywords used for defining the structure and behavior of programs. While goto, interface, and volatile are reserved Java keywords, include is not part of the Java language. Java uses import statements instead of #include.