Q: How are base enums represented and stored in the database?
-
A
A literal string value
-
B
A numerical value
-
C
An alphabetical character
-
D
A series of numerical and alphabetical characters
B
Answer:
B
Explanation:
Justification:
- A. Incorrect: Users see the literal string value in the user interface, but the literal value isn’t stored in the database.
- B. Correct: Base enums are stored as numeric values (for example, 0, 1, 2) in the database.
- C. Incorrect: Numerical values, not alphabetical characters, are used when storing base enums in the database.
- D. Incorrect: Only numerical values are stored in the database.
Related Topic:
Share Above MCQ