A、 一个类只能实现一个接口
B、 类只能单一继承
C、 类不能同时继承一个类和实现一个接口
D、 接口只允许单一继承
答案:B
A、 一个类只能实现一个接口
B、 类只能单一继承
C、 类不能同时继承一个类和实现一个接口
D、 接口只允许单一继承
答案:B
A. a[19]值为0
B. a[19]未定义
C. a[20]值为0
D. a[20]为空
A. Java文档制作工具
B. Java解释器
C. Java编译器
D. Java启动器
A. for语句
B. break语句
C. while语句
D. continue语句
A. 1
B. 4
C. 2
D. 3
B. ArrayList
C. int
D. main
解析:null
下列哪一个属于Java的基本数据类型。()
A. 123456
B. 123
C. xxxxxxxxxxxxxxx
D. zzzzz
A. 同一个类的对象共用同一段内存
B. 同一个类的对象使用不同的内存段,但静态成员共享相同的内存空间
C. 对象的方法不占用内存
D. 以上都不对