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()

1 thought on “Which of these methods is an alternative to getChars() that stores the characters in an array of bytes?”

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

Leave a Comment