148

史上最难的一道Java面试题 (分析篇) - 简书

 6 years ago
source link: http://www.jianshu.com/p/17acc262e520?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
简书 匠心零度转载请注明原创出处,谢谢! 无意中了解到如下题目,觉得蛮好。 题目如下: 该程序的输出结果? 程序输出结果 考察知识点 synchronize实例锁。 并发下的内存可见性。 在java中,多线程的程序最难理解、调试,很多时候执行结果并不像我们想象的那样执行。所以在java多线程特别难,依稀记得大学的时候考c语言二级的时候,里面的题目是什么++和很多其他优先级的符合在一起问最后的...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK