nerdexam
Microsoft

MB6-890 · Question #81

You have an X+ + class that has the following code: public class CustAdvancelnvoiceJourDP { private void insertCustVendAdvanceInvoiceJourTmp() { // do work } public void processReport() { // call…

The correct answer is A. CustiAdvancelnvoiceJourDP newObj = new CustAdvanceInvoiceDourDP(). See the full explanation below for the reasoning.

Question

You have an X+ + class that has the following code:

public class CustAdvancelnvoiceJourDP { private void insertCustVendAdvanceInvoiceJourTmp() { // do work } public void processReport() { // call InsertCustVendAdvancelnvoiceJourTmp } } You need to call insertCustVendAdvancelnvoiceJourTmpO from the processReport method on the current instance of the object. Which piece of code should you write within the processReport method to achieve this goal?

Options

  • ACustiAdvancelnvoiceJourDP newObj = new CustAdvanceInvoiceDourDP();
  • BCustAdvancelnvoiceDourDP.insertCustVendAdvancelnvoiceJourTmp();
  • CCustAdvancelnvoiceDourOP: :insertCustVendAdvanceInvoiceDourTmp( ) ;
  • Dthis.insertCustVendAdvanceInvoice3ourTmp();

How the community answered

(64 responses)
  • A
    73% (47)
  • B
    8% (5)
  • C
    14% (9)
  • D
    5% (3)

Community Discussion

No community discussion yet for this question.

Full MB6-890 Practice