Multiple choice

Which of the following is a valid identifier?

  1. DATA-REC

  2. _DS

  3. 29CLCT

  4. My.File

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

 This option is correct as we know that an identifier is an arbitrarily long sequence of letters and digits, the first character must be a letter, the underscore (_) counts as a letter, Upper case and lower case letters are different and all characters are significant. Since the given option contains all these properties, hence it is a valid identifier.