String class has getBytes() method which can be used to convert String to byte array in Java.. getBytes()- Encodes this String into a sequence of bytes using ...
確定! 回上一頁