Given the code fragment: What is the result?
A.
Compilation fails
B.
A Work done
C.
A B C Work done
D.
A B C D Work done
Given the code fragment: What is the result?
A.
Compilation fails
B.
A Work done
C.
A B C Work done
D.
A B C D Work done
Correct Answer : B – “A Work done”
Definitely B.
Answer: B
Tested
b
A,
wont compile after continue }
when you delete } it will print A Work done
It is B my bad
B=Correct