This is one of the '
Thread' questions from
Java Certification Book by Khalid:
****************
Given the following program, which statement is true?
Choices:
1. The program will fail to compile.
2. One cannot be certain whether any of the letters i,j,k will be printed during execution.
3. One can be certain whether any of the letters i,j,k will ever be printed.
4. One can be certain that the letters i and k will never be printed during execution.
5. One can be certain that the letter k will never be printed during execution.
Correct Answer is: 2
*********
Can someone explain more clearly? The explanation given in the book is not very sufficient.
Thanks,
Gopesh
[ November 23, 2003: Message edited by: Gopesh Sharma ]
[ Jess added
UBB [code] tags to preserve whitespace, check 'em out! ]
[ November 23, 2003: Message edited by: Jessica Sant ]
SCJP, SCWCD, Brain Bench Certified in Java 1.2, Web Methods Certified Developer, HP Star Certified in HP Net Servers, CNE, CNA.