Multiple choice Which of the following functions is/are valid in Java for Strings? valueOf() toCharArray() toIntArray() Both (1) and (2) Both (1) and (3) Reveal answer Fill a bubble to check yourself D Correct answer Explanation Both 1 & 2 options are valid functions in Java. So this is the correct answer.