Why Object Class having wait(),notify(),notifyAll() methods. We need to extend Thread or implement Runnable to give Thread like behavior to a class . So why dint made them as part of Any of Thread or
Asked
Active
Viewed 49 times
-3
-
Nothing whatsoever to do with MySQL. What language *are* you talking about? Not a real question. – user207421 May 09 '13 at 09:14
1 Answers
0
An object is not inherently associated with a thread - it's essentially just some field values and a (sub)class identifier in the virtual machine's memory space. By default, an object is quite usable by all threads of a running Java application.

einpoklum
- 118,144
- 57
- 340
- 684