单选题 C#中下列代码运行结果是() public class Student { public virtual void Exam() { Console.WriteLine("学生都要考试"); } } public class Undergraduate : Student { public new void Exam() { Console.WriteLine("大学生有选择考试科目的权利"); } } class Program { static void Main(string[] args) { Student stu = new Undergraduate(); stu.Exam(); } }

A、 学生都要考试
B、 大学生有选择考试科目的权利
C、 学生都要考试? ?? 大学生有选择考试科目的权利
D、 学生都要考试 学生都要考试
下载APP答题
由4l***4t提供 分享 举报 纠错

相关试题

单选题 在SQL Server中,创建表的SQL语句是()

A、create schema
B、create table
C、create view
D、create index

单选题 在E-R图中,实体、属性和关系分别用()来表示

A、矩形、菱形、椭圆
B、矩形、椭圆、菱形
C、菱形、椭圆、矩形
D、椭圆、矩形、菱形

单选题 在SQL Server中,T-SQL的输出语句是()

A、print
B、write
C、select
D、set

单选题 在SQL Server中,定义存储过程的输出参数时,要在参数后使用()关键字

A、default
B、output
C、input
D、with

单选题 在SQL Server中 ,( )语句作为批处理的结束标志

A、RETURN
B、QUIT
C、GO
D、EXIT

单选题 在SQL Server中,删除表中数据的SQL语句是()

A、delete
B、drop
C、clear
D、remove

单选题 在SQL Server中, 下列()语句用于事务回滚

A、rollback
B、commit
C、rollback transaction
D、commit transaction

单选题 在SQL Server中,系统存储过程以()为前缀

A、@@
B、@
C、sp_
D、up_