Hi.
I have a little problem with java.
Please check the following java script:
and i found that the output is
Line 4
Line 9
Line 11
Please some one explain me how does this come
Thanks & Regards,
chathura
I have a little problem with java.
Please check the following java script:
Code:
class Break{
public static void main(String args[]){
boolean t = true;
a: {
b:
c: {
System.out.println("Line 4");
if(t) break b;
System.out.println("Line 7");
}
System.out.println("Line 9");
System.out.println("Line 11");
}
}
}
Line 4
Line 9
Line 11
Please some one explain me how does this come
Thanks & Regards,
chathura
Comment