i know that wait() method always written in synchronized method/block and make lock on Object but i want to only know that what problem is arise at that time when this all m
The problem with using them on a Thread object is that the Thread uses this lock for it own purposes. This is likely to lead to confusion and odd bugs.