package InitializeAndCleanUp.part7;

import static net.mindview.util.Print.print;

/**
 * Created by chenyang on 2017/1/17.
 */
class Bowl{
    Bowl(int marker){
        print("Bowl("+marker+")");
    }
    void f1(int marker){
        print("f1("+marker+")");
    }
}

class Table{

}

public class StaticInitialization {

}

@@ -30,16 +30,106 @@
 part7;%0A%0A
+import static com.sun.xml.internal.fastinfoset.alphabet.BuiltInRestrictedAlphabets.table;%0A
 import s
@@ -370,47 +370,776 @@
 le%7B%0A
-%0A%7D%0A%0Apublic class StaticInitialization %7B%0A
+    static Bowl bowl1=new Bowl(1);%0A    Table()%7B%0A        print(%22Table()%22);%0A        bowl2.f1(1);%0A    %7D%0A    void f2(int marker)%7B%0A        print(%22f2(%22+marker+%22)%22);%0A    %7D%0A    static Bowl bowl2=new Bowl(2);%0A%7D%0A%0Aclass Cupboard%7B%0A    Bowl bowl3=new Bowl(3);%0A    static Bowl bowl4=new Bowl(4);%0A    Cupboard()%7B%0A        print(%22Cupboard%22);%0A        bowl4.f1(2);%0A    %7D%0A    void f3(int marker)%7B%0A        print(%22f3(%22+marker+%22)%22);%0A    %7D%0A    static Bowl bowl5=new Bowl(5);%0A%7D%0A%0Apublic class StaticInitialization %7B%0A    public static void main(String%5B%5D args) %7B%0A        print(%22Creating new Cupboard() in main%22);%0A        new Cupboard();%0A        print(%22Creating new Cupboard() in main%22);%0A        new Cupboard();%0A    %7D%0A    static Table table=new Table();%0A    static Cupboard cupboard=new Cupboard();
 %0A%7D%0A

update code