Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class lagAlfabet {
- public static void main(String[] args) {
- char[] alfabet = new char[26];
- for(char c = 'a'; c <= 'z'; ++c) {
- alfabet[c - 'a'] = c;
- }
- // Print ut array verdi - 0 gir a, 1 gir b og 25 gir z
- System.out.println(alfabet[25]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment