Programming concepts, OOPs, Data Structures, C, C++, Java, JS, Python, and more
Which of the following methods is used to convert a Java String to an array of characters?
a) split()
b) getChars()
c) getBytes()
d) toCharArray()
Created by Nancy K.A.N.
@23:05 01-Jul-2025
Follow on YouTube
https://kannancy.blogspot.com/