Forums Register Login

Why wait(),notify() and notifyAll() in Object class?

+Pie Number of slices to send: Send
Hi Everyone,

This is my first post .
My doubt is why wait(),notify() and notifyAll() are in Object class why not in Thread class.
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
And welcome to JavaRanch
+Pie Number of slices to send: Send
Thanks a lot
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 972 times.
Similar Threads
notify(), wait(), notifyall()
Regarding Thread class
Threads
Object Class
Interview q
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:49:20.