Single Choice Easy

QWhich type of class should be created in order to run a job?

ID: #9382 Classes in D365 F&O X++ 262 views
Question Info
#9382Q 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 runnable class ✔ ✖
  • B A normal class ✔ ✖
  • C A static class ✔ ✖
  • D A public class ✔ ✖
Correct Answer

Explanation

Justification:

  1. A runnable class is a class that can be used as a startup object in a project. It contains a static main method. The main method is the entry point of your job.
  2. A normal class should not be used when testing random code samples
  3. A static class is not a valid class
  4. A public class implies that the methods from the class can be accessed anywhere. However, to test code, you should use a runnable class that contains a static main method.

 

Related Lesson: Methods

Share This Question

Challenge a friend or share with your study group.