摘要:
问题: 一下输出的内容是? class Value{ public int i=15; } public class Test{ public static void main(String argv[]){ Test t=new Test( ); t.first( ); } public void 阅读全文
摘要:
异常信息: SLF4J: No SLF4J providers were found.SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#noP 阅读全文
摘要:
java内存分析: 一般来说:(技术有限,仅供参考) ①常量,静态变量都是存储在方法区的 ②所有方法里定义的局部变量都是放在栈内存中 Person p = new Person("zhang",16); int[] a = new int[3]; ②引用类型变量,变量的引用在栈里,在堆里开辟存储空间 阅读全文