hi Ayukawa Madoka , your code is not working. r u sure ?
i copied and pasted, it is giving me compilation error.
of course the error is quite reasonable bcoz a
java source code can not have two or more public classes ( your code has two public class ).
however, your example is good to suport the mechanism of static block operation.