Module 4: Base Enumerations - Quiz

  • AAs a literal string value
  • BAs a numerical value
  • CAs an alphabetical character
  • DNone of the above
  • AA posting type field
  • BAll other option not A transaction date field
  • CA sales order status field
  • DABC Codes to rate customers, vendors or items
  • AA literal string value
  • BA numerical value
  • CAn alphabetical character
  • DA series of numerical and alphabetical characters
  • A To define custom data types
  • B To declare global char variables
  • C To create class methods
  • D To manage exception handling
  • 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
  • A By using the element's index
  • B By converting the enum to a string
  • C By directly using the element name
  • D By creating a switch-case statement