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

Which of the followi


Which of the following statements about variables and scope are true?() 

  • A Local variables defined inside a method are destroyed when the method is exited.
  • B Local variables are also called automatic variables.
  • C Variables defined outside a method are created when the object is constructed.
  • D A method parameter variable continues to exist for as long as the object is needed in which the method is defined.
参考答案
参考解析:

本题是讨论变量的类型及作用域。

分类:SCJP程序员认证考试题库
相关推荐

1、Which of the followi

Which of the following is a true statement when promiscuous mode is enabled on an...

2、Which of the followi

Which of the following accurately represents the functionality of a lightweight access point&...

3、Which of the followi

Which of the following is not a CRS Telephony or Media Subsystem?()AJTAPI BCisco Media CVXML DMRCP ASR EMRCP TTS&e

4、Which of the followi

Which of the following characteristics applies only to OSPFv3 and not to OSPFv2?()ASeveral...

5、Which of the followi

Which of the following four CRS components must be active on a Historical Reporting&#81...

6、Which of the followi

Which of the following statements are true?() A The equals() method determines if refere...