Which of the following is NOT a valid identifier in Java?

PYQ DSSSB 2025

Which of the following is NOT a valid identifier in Java?

  1. A.

    myvar123

  2. B.

    _myvar

  3. C.

    static

  4. D.

    my_var123

Attempted by 1145 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…