Quantcast
Viewing all articles
Browse latest Browse all 16

Answer by Radhesh Khanna for string to string array conversion in java

Simply Use the .tocharArray() method in java

String k = "abc";
char alpha = k.tocharArray();

This should work just fine in JAVA 8


Viewing all articles
Browse latest Browse all 16

Trending Articles