单项选择题

关于下面的类描述中正确的是()

A. 编译出错
B. 编译通过,运行出错
C. 编译通过,运行时输出“I am an int”
D. 编译通过,运行时输出“I am a string”