Untitled

Run Settings
LanguageJava
Language Version
Run Command
class GetAlphaArray { public static void main(String[] args) { GetAlphaArray gaa = new GetAlphaArray(); gaa.getAlphabet(); System.out.println(gaa.getAlphabet()); } //end of main public static char[] getAlphabet(){ char[] a = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't'}; for (int i = 0; i <a.length; i++) { // Array.getChar() method char x = a[i]; // Printing the values System.out.println(x); } //end of for loop return a[i]; // Printing the values } //end of method } //end of class
Editor Settings
Theme
Key bindings
Full width
Lines