Multiple choice technology web technology

The default data type mapping from xml to java for xsd:base64binary is

  1. int

  2. double

  3. byte

  4. byte[]

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

The xsd:base64binary type maps to byte[] in Java because base64 represents binary data. A single byte would only hold one byte of data, not the full array.