Mastering Java 2025 – 400 Free Practice Questions to Pass the 'Thinking in Java' Exam Flash Cards

Question: 1 / 510

What method is used to convert a String to a byte array?

?

getBytes

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy