Single Choice Easy

QWhat is the reserved word in a function that is used when the method does NOT return a value?

ID: #9383 Classes in D365 F&O X++ 212 views
Question Info
#9383Q ID
EasyDifficulty
Classes in D365 F&O X++Topic

Choose the Best Option

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

  • A Static
  • B Null
  • C Void
  • D Private
Correct Answer

Explanation

Justification:

  1. A static method is a method that does not require object instantiation, but this does not determine whether or not a value will be returned.
  2. A method of type null is not a valid method in Dynamics AX.
  3. Void is the keyword used to specify that nothing should be returned from this method.
  4. The Private keyword determines the scope or accessibility of a method’s variables and does not determine what, if anything should be returned.

 

Related Lesson: Methods

Share This Question

Challenge a friend or share with your study group.