单项选择题
假定AB为一个类,则执行"ABx(a,5);"语句时将自动调用该类的()。
A.带参构造函数
B.无参构造函数
C.拷贝构造函数
D.赋值重载函数
点击查看答案&解析
相关考题
-
单项选择题
在读字节文件Employee.dat时,使用该文件作为参数的类是()。
A.Buffered Reader
B.Data Input Stream
C.Data Output Stream
D.File Input Stream -
单项选择题
下面的异常()为数组下标越界异常。
A.Arithmetic Exception
B.Null Pointer Exception
C.Array Index Out Of Bounds Exception
D.File Not Found Exception -
单项选择题
下列哪个类不是异常类的父类()。
A.Error
B.Throwable
C.Exception
D.Object
