hollischuang / toBeTopJavaer

To Be Top Javaer - Java工程师成神之路
https://www.hollischuang.com
25.24k stars 5.47k forks source link

【文字错误】第8章 字符串 #188

Closed npzss closed 1 year ago

npzss commented 2 years ago

第110页,底部 在Class文件的常量池中共包含了Hollis、HollisChuang、Hol、lis666、Holl、s888这6个常量。 中的s888应为 is888

138页,底部代码 public int get(){ int a = 1; try { retrurn a; }finally{ a = 2; return a; } }

这段代码结果应为2

141页 String[] strings = String[] strings = {} 这里写重复了

hollischuang commented 1 year ago

已在后续版本中修正,感谢勘误