- A The string data type should be used.
- B The enum data type should be used.
- C The integer data type should be used.
- D The container composite data type should be used.
- Share this MCQ
Answer:
B
Share this MCQ
- A. Incorrect: The string data type does not limit the variable to a defined list.
- B. Correct: The enum type allows you to use a defined list of values.
- C. Incorrect: The integer data type does not allow string characters.
- D. Incorrect: The container allows you to hold multiple values of different data types. It does not limit you to a defined list.
Share this MCQ