Which of the following is not a valid variable name in Java language?

PYQ RPSC Programmer 2024

Which of the following is not a valid variable name in Java language?

  1. A.

    x15

  2. B.

    rate

  3. C.

    rate_of_taxi

  4. D.

    rate-of-taxi

  5. E.

    Question not attempted

Attempted by 534 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…