Java OCA OCP Practice Question 1214

Question

Choose the valid identifiers from those listed here. (Choose all that apply.)

  • A. BigOlLongStringAAAAAAAAAAAAAAAAAAAAAA
  • B. $int
  • C. bytes
  • D. $1
  • E. finalist


A, B, C, D, E.

Note

All of the identifiers are valid.

An identifier begins with a letter, a dollar sign, or an underscore; subsequent characters may be letters, dollar signs, underscores, or digits.

And of course keywords and their kin may not be identifiers.




PreviousNext

Related