【单选题】
A The program has a compilation error because TempClass does not have a default constructor
B The program has a compilation error because TempClass does not have a constructor with an int argument
C The program compiles fine, but it does not run because class C is not public
D The program compiles and runs fine
查看更多