语句块问题。
离破碎虚空的不远了。
这样能执行吗?给点解释吧,受不了了。
这样呢?
呵呵。。。
public static void main(String[] args) {
System.out.println("outer Before");
{
boolean i;
if (i = false) {
{
//code
System.out.println("inner IF");
}
}
else{
System.out.println("outer ELSE " + i);
}
System.out.println("outer After");
}
}这样能执行吗?给点解释吧,受不了了。
这样呢?
public static void main(String[] args) {
System.out.println("outer Before");
{
{
boolean i;
if (i = false) {
{
//code
System.out.println("inner IF");
}
}
}
else{
System.out.println("outer ELSE " + i);
}
System.out.println("outer After");
}
}呵呵。。。
...全文


Java SE
