• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What extra can be done to do well on threads

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

For the people who took the exam...what kind of Thread/concurrency questions did you get?

I have stil to do the two minute drill on chapter 8.

I've actually coded along all the examples in the chapter so far.

what more can I do on my end to learn more about threads? Is there a quiz or something that concentrates JUST on threads?
 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bhaarat,

I had the same difficulty with Chapter 89 so I went back to reading the fundamentals about threads in Head First Java, Chapter 15, page 490. In my case, this chapter provided illustrations that helped me think about how multithreading works.
 
Bhaarat Sharma
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks chung. I will look into that. But I would prefer seeing more code examples/questions regarding Threads/concurrency rather than reading more

Bu I will def. check out chapter 15 of Head First Java
 
Larry Chung
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

 
Bhaarat Sharma
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Larry. Hope I do well on the two minute drill
 
Ranch Hand
Posts: 774
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bhaarat,

Yes threads are quiet tricky. I suppose Larry is advising right to have a look at Head First chapter and then come back
to this threads chapter. Hopefully it will help.

Best Regards,
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic