static易错点
摘要:
package com.juemuren.Error;/** * static关键字的易错点 */class SuperClass{ static{ System.out.println("SuperClass init "); } /** * 被static修饰的变量,变量的值经历了多次变化 * 阅读全文
posted @ 2017-04-10 19:10 Sivanx 阅读(127) 评论(0) 推荐(0) 编辑