打赏
摘要: https://www.jianshu.com/p/af6eb8d3d4bf 首先看一段程序: using System; class Program { static void Main(string[] args) { string a = "hello world"; string b = a 阅读全文
posted @ 2018-08-09 09:14 刘奇云 阅读(3800) 评论(1) 推荐(5)
摘要: https://blog.csdn.net/soonfly/article/details/70147205 在翻《深入理解Java虚拟机》的书时,又看到了2-7的 String.intern()返回引用的测试。 其实要搞明白String.intern(),我总结了下面几条规则: 一、new Str 阅读全文
posted @ 2018-08-09 09:02 刘奇云 阅读(239) 评论(0) 推荐(1)