Machine-translated by Google. Questions are authored in English.
Top

Discussion

A good identifier is which of the following?

  • A.One that can change over time
  • B.Can be null
  • C.One that is unique
  • D.Be intelligent

Answer: C

Correct answer: One that is unique

Uniqueness is the one indispensable property: an identifier that does not distinguish instances identifies nothing. The others are the opposite of what is wanted - a good identifier does not change, is never null, and is unintelligent, carrying no meaning that might later need to change.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.