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)- A73% (47)
- B8% (5)
- C14% (9)
- D5% (3)
Community Discussion
No community discussion yet for this question.