A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Threads and Synchronization
Joined: Dec 28, 2011
Jan 03, 2012 01:56:35
wait(),notify(),notifyAll() methods are highly used in Threading. But theses 3 methods are in
class. not in Thread class .why?
Joined: Oct 27, 2005
Jan 03, 2012 04:06:40
. I can't even remember how often this question has been asked already.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
Joined: Jan 03, 2004
Jan 07, 2012 14:31:25
Additionally, if you understand what there methods are for and how to use them, you'll understand why they
be defined on Object and not just on Thread.
I agree. Here's the link:
subject: Thread methods?
SCJP Thread question from MG's mock exam
notify() in threads
why wait notify notifyall defined in object class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014