Single Choice Easy

QWhich method will allow the method to be called from anywhere that its class is accessible?

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

Choose the Best Option

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

  • A A public method
  • B A private method
  • C An access method
  • D A protected method
Correct Answer

Explanation

  • A. Correct: Methods that are declared as public can be called from anywhere that the class is accessible.
  • B. Incorrect: Methods that are declared as private can only be called from methods within the same class.
  • C. Incorrect: An access method doesn’t exist in finance and operations apps.
  • D. Incorrect: Methods that are declared as protected can only be called from methods in the class or methods in a subclass of the class.

Share This Question

Challenge a friend or share with your study group.