Single Choice
Easy
QStatement: Method overriding is supported.
ID: #17401
Methods X++ in D365 F&O X++
198 views
Question Info
#17401Q ID
EasyDifficulty
Methods X++ 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
True
Method overriding is supported. A derived class can have a method by the same name as in the base class, as long as the parameter signature is the same in both cases. The only exception is that the overriding method can add a default value to a parameter.
The concept of overriding a method includes the method name, its parameter signature, and its return type. The concept of method overriding does not apply if the base method and the overriding method differ in any of these aspects.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic