Wap to make string in array | Sololearn: Learn to code for FREE!

0

Wap to make string in array

3/8/2017 5:58:19 PM

Abhinav Anand™

4 Answers

New Answer

+12

String str = "splitme"; String[] arr = str.split("(?!^)");

+2

String str="Abhinav"; char[] arr=str.toCharArray();

+1

thank you Tashi N

+1

thank you Meharban Singh