- 博客(1)
- 收藏
- 关注
原创 intern()方法的返回值 (jdk1.8)
有错误的首先,先看一下官方API文档(jdk1.8):public String intern()Returns a canonical representation for the string object.A pool of strings, initially empty, is maintained privately by the class String.When the intern method is invoked, if the pool already contains a
2020-09-05 00:12:50
459
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人