How should you complete the relevant code?

You are developing an application that includes a class named Customer.
The application will output the Customer class as astructured XML document by using the following code
segment:

You need to ensure that the Customer class will serialize to XML.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the
correct locations in the answer area. Each code segment may be used once, more than once, or not at all.
You may need to drag the split bar between panes orscroll to view content.)

You are developing an application that includes a class named Customer.
The application will output the Customer class as astructured XML document by using the following code
segment:

You need to ensure that the Customer class will serialize to XML.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the
correct locations in the answer area. Each code segment may be used once, more than once, or not at all.
You may need to drag the split bar between panes orscroll to view content.)

Answer:

Explanation:



Leave a Reply 4

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


MarcoJacob

MarcoJacob

Use Code Segments:
2
4
8
6

j

j

Attribute…
2
3
8
6

Manab

Manab

Agreed with j,

2
3 – because prospectId is attribute, not element
8
6

Herman McConnell

Herman McConnell

2
3
8
6