@@ -0,0 +1,673 @@
+package InitializeAndCleanUp.part8;%0A%0Aimport net.mindview.util.CountingGenerator;%0A%0A/**%0A * getClass()%E6%96%B9%E6%B3%95%E5%B1%9E%E4%BA%8EObject%E7%9A%84%E4%B8%80%E9%83%A8%E5%88%86%EF%BC%8C%E5%AE%83%E5%B0%86%E4%BA%A7%E7%94%9F%E5%AF%B9%E8%B1%A1%E7%9A%84%E7%B1%BB%E3%80%82%0A * %E8%BE%93%E5%87%BA%E7%BB%93%E6%9E%9C%E4%B8%AD%EF%BC%9A%0A * %22%5B%22%E8%A1%A8%E7%A4%BA%E5%90%8E%E9%9D%A2%E7%B4%A7%E9%9A%8F%E7%9A%84%E7%B1%BB%E5%9E%8B%E7%9A%84%E6%95%B0%E7%BB%84%EF%BC%8CI%E8%A1%A8%E7%A4%BAint%0A * Created by chenyang on 2017/1/19.%0A */%0Apublic class VarargType %7B%0A    static void f(Character... args)%7B%0A        System.out.println(args.getClass());%0A        System.out.println(%22 length %22+args.length);%0A    %7D%0A    static void g(int... args)%7B%0A        System.out.println(args.getClass());%0A        System.out.println(%22 length %22+args.length);%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        f('a');%0A        f();%0A        g(1);%0A        g();%0A        System.out.println(%22int%5B%5D:%22+new int%5B0%5D.getClass());%0A    %7D%0A%7D%0A

update code