October 2017
Beginner
318 pages
7h 26m
English
Let's begin our programming by declaring and initializing a character array in which to store the characters of the English language. So, we tell Java that we're going to need a variable to point to an array of characters. I'll call this variable alpha. Then we're going to ask Java to set aside memory space by using the new keyword for 26 characters, because the English language has 26 letters:
char[] alpha = new char[26];
Now, if you remember, character values can also map to integer values. To find these, we will look for an ASCII table. (You can access the ASCII table at www.asciitable.com.)

The value we're looking for ...
Read now
Unlock full access