Which of these methods of Byte wrapper can be used to obtain Byte object from a string?
A. toString()
B. getString()
C. decode()
D. encode()
Answer:A
Which of these methods of Byte wrapper can be used to obtain Byte object from a string?
A. toString() B. getString() C. decode() D. encode()
Explanation: decode() methods returns a Byte object that contains the value specified by string.