Single Choice Easy

QWhich of the following is true about base enum elements in X++?

ID: #16205 Base Enumerations in D365 F&O X++ 156 views
Question Info
#16205Q ID
EasyDifficulty
Base Enumerations in D365 F&O X++Topic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Elements must have numeric values
  • B Elements cannot have associated labels
  • C Elements are implicitly assigned sequential integers
  • D Elements are exclusively used for exception handling
Correct Answer

Explanation

Base enum elements in X++ are implicitly assigned sequential integers, starting from 0 by default. However, you can explicitly assign integer values to enum elements if needed. This feature ensures that each enum element corresponds to a unique numeric value, making it easier to work with these elements in your code.

Share This Question

Challenge a friend or share with your study group.