Why wait() & notify() present in Java Object class instead of Thread class?

159K views

SPS Tech | Learn Java | Crack Interviews

2 months ago

Why wait() & notify() present in Java Object class instead of Thread class?

Why wait() & notify() present in Java Object class instead of Thread class?