摘要:
success: openjdk version "1.7.0-internal"OpenJDK Runtime Environment (build 1.7.0-internal-westward_2017_03_19_14_20-b00)OpenJDK 64-Bit Server VM (bui 阅读全文
摘要:
对于局部变量,如果是基本类型,会把值直接存储在栈;如果是引用类型,比如String s = new String("william");会把其对象存储在堆,而把这个对象的引用(指针)存储在栈。再如String s1 = new String(“william”);String s2 = s1;s1和 阅读全文