Java OCA OCP Practice Question 133

Question

Which of the following is not a valid variable name?

  • A. _blue
  • B. 2blue
  • C. blue$
  • D. Blue


B.

Note

An identifier name must begin with a letter, $, or _.

Numbers are only permitted for subsequent characters.

Option B is not a valid variable name.




PreviousNext

Related