Single Choice Easy

QYou need to create inheritance within the classes. Which will best complete this statement?

class dbfmTruckVehicleEntry __________ dbfmVehicleEntry

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

Choose the Best Option

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

  • A void ✔ ✖
  • B return ✔ ✖
  • C extends ✔ ✖
  • D super ✔ ✖
Correct Answer

Explanation

Justification:

  1. The void keyword is only used with methods. This indicates that a given method does not return a value.
  2. The return keyword is not a valid keyword to be used with classes.
  3. The extends keyword is used in the class declaration to determine which class the given class is extending or inheriting from.
  4. The super keyword is called within a method and indicates whether or not to call the method of the same name from the parent class.

 

Related Lesson: Class Inheritance

Share This Question

Challenge a friend or share with your study group.