摘要:
class WithFinal{ private final void f(){ System.out.println("WithFinal.f()"); } private void g(){ System.out.println("WithFinal.g()"); }}class Overrid 阅读全文
摘要:
Date shsj1 = new Date();Date shsj2 = new Date(); Calendar instance1 = Calendar.getInstance();Calendar instance2 = Calendar.getInstance();instance1.set 阅读全文
摘要:
// 父类 public class ParentA { private static int i=5; private int j; static { System.out.println("static A"); System.out.println("ParentA static i = "+ 阅读全文