Single Choice
Easy
QWhich keyword is used in the class declaration to specify class inheritance? This allows one “child” class to inherit the methods and variables of another “parent” class.
ID: #9384
Classes in D365 F&O X++
222 views
Question Info
#9384Q 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
Justification:
- Inherits is not a valid keyword in X++ for class inheritance
- Extends is the correct keyword to use in the class declaration in order to specify Class Inheritance. For example, “class ChildClass extends ParentClass”
- Supports is not a valid keyword in X++ for class inheritance
- Follows is not a valid keyword in X++ for class inheritance
Related Lesson: Class Inheritance
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic