Single Choice
Easy
QWhat method is automatically added when you're creating a runnable class instead of a class?
ID: #11007
Classes in D365 F&O X++
174 views
Question Info
#11007Q ID
EasyDifficulty
Classes in D365 F&O X++Topic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
- A. Incorrect: A
newmethod is used to create an instance of the class and isn't automatically added to a runnable class. - B. Incorrect: A
staticmethod is used to work with data in a table and isn't automatically added to a runnable class. - C. Correct: A
mainmethod is automatically added to a runnable class. Therefore, you would add a runnable class instead of a class to your project. - D. Incorrect: A
finalizemethod finalizes the instance of the class. It isn't automatically added to a runnable class.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic