我有這個類: public final class Validator {
private static final String TEST_VALUE = "test";
private static final String TEST;
static {
TEST = TEST_VALUE + "_test";
}
priva
我正在重新審視java的概念。所以,我期待在這個例子中 class A {
A() {System.out.print("CA");}
static {System.out.print("SA");}
}
class B extends A {
B() {System.out.print("CB");}
static {System.out.print(