Created
April 24, 2016 12:11
-
-
Save crazyhitty/f48e2c010dacf663d50b6490be609d44 to your computer and use it in GitHub Desktop.
Revisions
-
crazyhitty created this gist
Apr 24, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ class Main { public static void main(String[] args) { for(int i=0; i<26; i++){ System.out.print(getAlphabetsAZ()[i]); } } public static char[] getAlphabetsAZ(){ char[] alphabetArr=new char[26]; int x=0; for(int i=97; i<123; i++){ alphabetArr[x]=(char)i; x++; } return alphabetArr; } }