A

Admin • 828.03K Points
Coach

Q. How to convert a string to an array of bytes?

  • (A) getBytes()
  • (B) toCharArray()
  • (C) toBytes()
  • (D) charArray()

Explanation by: Admin
getBytes() converts a string to a byte array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.