Which of the following is NOT a valid identifier in Java?
Show answerHide answer
Correct answer: (C) static
Explanation
static is a reserved keyword in Java and cannot be an identifier. Letters, digits (not first), _ and $ are allowed.
Correct answer: (C) static
Explanation
static is a reserved keyword in Java and cannot be an identifier. Letters, digits (not first), _ and $ are allowed.
This is question 37 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.