Core Java
zpyzly
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java同一变量赋值的特殊性
看到一道java面试题, http://www.iteye.com/topic/644423 public static void main(String[] args) { int j = 0; for(int i = 0; i j = j++; } System.out.println(j); } 很多人都会毫不犹豫说是100吧!告诉你,答案是0原创 2012-03-06 17:37:01 · 1027 阅读 · 0 评论 -
JAVA文件IO注意
读文件注意: BufferedReader才有readLine(),Reader只有read()while( (s=in.readLine())!=null )in.close()不能在finally里面,因为close会抛IOExceptionreadLine()的结果是不带有\n的,必要时要加上\n原创 2015-02-01 19:10:18 · 449 阅读 · 0 评论 -
When a class is loaded and initialized in JVM - Java
Classloading and initialization in Java Understanding of when a class is loaded and initialized in JVM is one of the fundamental concept of Java programming language. Thanks to Java language specific转载 2015-11-11 16:05:14 · 659 阅读 · 0 评论
分享