represents the code value of the char. How?
[*] Like this. char c = ‘A’; int i = c; Going the other way is just c = (char) i; This question crops up so frequently because the BASIC language uses functions to map characters into ints, ASC( ‘A’ ) => 65 causing BASIC programmers to seek the corresponding Java functions. The same is true for Pascal, Ada, and other languages.