单项选择题

A.Compilation fails.
B.An exception is thrown at runtime.
C.The code executes normally and prints "foo";
D.The code executes normally, but nothing is printed.