3 System.out.println("Static Initializer will call the GC ...");
7 public static void test() {
8 System.out.println("Static method fine.");
12 public class ClassInit {
13 public static void main(String[] s) {
16 System.out.println("Preparing a String ...");
17 t = new String("Remember Me!");
19 System.out.println("Static Test Method will be called ...");
22 System.out.println("String: " + t);
23 System.out.println("Test fine.");