convert string to byte java

Solutions on MaxInterview for convert string to byte java by the best coders in the world

showing results for - "convert string to byte java"
Camille
13 Sep 2018
1  String example = "Convert Java String";
2  byte[] bytes = example.getBytes();