Single Choice Easy

QStatement: Method overriding is supported.

ID: #17401 Methods X++ in D365 F&O X++ 199 views
Question Info
#17401Q ID
EasyDifficulty
Methods X++ in D365 F&O X++Topic

Choose the Best Option

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

  • A True
  • B False
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.

Share This Question

Challenge a friend or share with your study group.