We are given an array of Strings and what we require is a char[], i.e, array of all characters in all the Strings For example:
Input: [i, love, you]
output:
String[] sArray = {"i", "love", "you"}; String s = ""; for (String n:sArray) s+= n; char[] c = s.toCharArray();