MCQ Practice Single Best Answer Topic: Module 4: Base Enumerations

Q The default first literal value or option in an enumeration is internally represented by the number 1. TRUE or FALSE.

Question ID
#9344
Subchapter
Module 4: Base Enumerations
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A True
  • B False
Correct Answer: B

Explanation

Justification:

  1. False: This statement is false. The first literal value in a base enumeration is represented by the number 0 by default. The second literal or option in the enumeration is represented by a 1, and so on. These numerical values can also be changed by a developer, however.

 

Related Lesson: Create a Base Enumeration

Share This Question

Share this MCQ with your friends or study group.