可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Which two statements&#8194


Which two statements are true regarding the creation of a default constructor?()   

  • A The default constructor initializes method variables.
  • B The default constructor invokes the no-parameter constructor of the superclass.
  • C The default constructor initializes the instance variables declared in the class.
  • D If a class lacks a no-parameter constructor,, but has other constructors, the compiler creates a default constructor.
  • E The compiler creates a default constructor only when there are no other constructors for the class.
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、Which two statements 

Which two statements about MAC addresses in the Cisco UCS are true?()AThe first 2 ...

2、Which two statements 

Which two statements about bigfile tablespaces are true? ()AThe bigfile tablespace have only&e...

3、Which two statements 

Which two statements about SCSI are true? ()A The bus is limited to 32 devicesB ...

4、Which two statements 

Which two statements about the Cisco AutoSecure feature are true?()AAll passwords entered dur...

5、Which two statements 

Which two statements about the open and shared key wireless-authentication methods are true?...

6、Which two statements 

Which two statements are reserved words in Java? ()A RunB ImportC DefaultD Implement