Bhaarat Sharma wrote:I am preparing for SCJP 6 and am studying chapter 8 (Threads) in K&B book. Apart from the chapter being long, it is starting to get really really confusing. seems like nothing is certain and for sure.
I think I know why we had trouble learning about Threads in Chapter 8. That chapter is about Inner Classes (at least in my copy of the K&B book).
Anyway, to answer your second question, the Self
Test at the end of Chapter 9 is a quiz "that concentrates JUST on threads".
To answer your first question, the Thread/Concurrency questions in the actual SCJP exam had no more than 10 lines of code but were tricky. Some code samples were actually runtime error or compile time error and so produced no result.