Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of these methods is an alternative to getChars() that stores the characters in an array of bytes?

a) getBytes()
b) GetByte()
c) giveByte()
d) Give Bytes()

Answer: a
Explanation: getBytes() stores the character in an array of bytes. It uses default character to byte conversions provided by the platform.

Join The Discussion