recently, I saw "java Core Technology Volume 1 (10th Edition)" and encountered the concept of code unit in Section 3.6.6. There was some confusion
.related codes
String sentence= "11 is the set of octonions";
System.out.println (sentence.charAt (1));
according to "java Core Technology Volume 1" (Section 3.6.6), the console output should be the second code unit of "11", but the result of my own test is the output space, which is contrary to what the book says. What"s going on?