单项选择题
已知接口IHello和类Base、MyClass的定义如下:

则下列语句在控制台中的输出为()

A.Hello in Base!Hello in Derived!
B.Hello in Derived!
C.Hello in derived!HelloinBase!
D.Hello in Base!
点击查看答案
相关考题
-
单项选择题
类MyClass定义如下: 请问若为该类添加以下类型转换操作符,是否合法?()
A.合法
B.不合法 -
单项选择题
在.NET类库中,可以使用()类进行基元类型间的转换。
A.System Switch
B.System Type
C.System Convert
D.System Value -
单项选择题
float类型的值可以隐式转换成()类型的值而保持值不被改变。
A.decimal
B.double
C.long
D.int