Multiple choice technology web technology

when XML element information can not be inferred by the derived Java representation of the XML Content,

  1. Null Point Exception at run time

  2. Compilation error

  3. Program terminates without warning

  4. A JAXBElement object is provided

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

When XML element information cannot be inferred from the Java representation (such as when element names or type information would be lost), JAXB provides a JAXBElement object to preserve this metadata.