Java OCA OCP Practice Question 1281

Question

Which of the following are valid Java identifiers?

  • A. %id
  • B. $id
  • C. _id
  • D. #id


B and C.

Note

The only special characters that may appear in an identifier are _ and $.




PreviousNext

Related