多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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

  • A、 Instance variables are member variables of a class.
  • B、 Instance variables are declared with the static keyword.
  • C、 Local variables defined inside a method are created when the method is executed.
  • D、 Local variables must be initialized before they are used.
正确答案:A,C,D
答案解析:
进入题库查看解析

微信扫一扫手机做题