1.

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» Right option is (c) decode()

Explanation: decode() methods returns a Byte object that contains the value specified by string.


Discussion

No Comment Found

Related InterviewSolutions