public class Main { public static void main(String[] args) { String literal = "Examples"; char[] temp = literal.toCharArray(); for (int i = 0; i < temp.length; i++) { System.out.print(temp[i]); } } }