试题详情
- 多项选择题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
关注下方微信公众号,在线模考后查看
热门试题
- Which are̳
- public class&e
- 窗口监听器有哪些特点?()
- Which the thre
- 下列赋值语句正确的是哪一项?()Q
- 下面有关java实例变量,局部变量,类变
- String foo&ens
- 关于语句package co
- public class Yippee
- What is th
- 构造函数的返回值类型为void
- Which two
- 顶层框架中包括哪些成员?()
- 11. static&ens
- What is th
- 在一个循环中使用break,contin
- 已知: 则下面表达式在横线处值为tru
- 计算字符串中子串出现的次数
- 使GUI事件处理器生效的方法是:()
- 下列哪项是Java语言中所定义的字节流?