摘要: 参考 《java高级程序员面试宝典》 部分代码见github:https://github.com/BMDACMER/javaExercise 1、不可变类String 有两种存储方式: String str = "Hello"; //存储在常量池中 不可变String str2 = new Str 阅读全文
posted @ 2020-03-17 12:45 BMDACM 阅读(146) 评论(0) 推荐(0) 编辑