HOTSPOT

HOTSPOT
You are a Dynamics 365 Finance developer. You have the following code: (Line numbers are created for reference only.)

Which values does the info() method return? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

microsoft-exams

One thought on “HOTSPOT

  1. This is so wrong. Pass by value only for primitive data type variables, pass by ref for object variables.
    Try this code in a dev box and see for yourself what info method shows in output.
    class RunnableClass1
    {
    public static void main(Args _args)
    {
    RunnableClass1 job1 = new RunnableClass1();
    job1.run();
    }
    public void run()
    {
    CustTable ct;
    ct.AccountNum = ‘GJ’;
    Info(ct.AccountNum);
    this.updateTest(ct);
    Info(ct.AccountNum);
    }
    public void updateTest(CustTable _ct)
    {
    CustTable newCT = _ct;
    newCT.AccountNum = ‘newGJ’;
    }
    }

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.