jsp2.0表达式语言,学习和使用jsp2.0表达式语言,pdf格式。中文。如下图:
考考你(22)
What is the result of attempting to compile and run the following program?
public class Test {
private int i = j;
private int j = 10;
public static void main(String args[]){
System.out.println((new Test()).i);
}
}
Select one correct answer
a. Compiler error complaining about access restriction of private variables of Test.
b. Compiler error complaining about forward referencing.
c. No error - The output is 0;
d. No error - The output is 10;
点击查看答案
↑返回目录
前一篇: JSP入门实例:无刷新JSP聊天室
后一篇: 风暴『留言簿v1.0』jsp版