I have not worked in multithreading, what is the difference between join and wait ,notify method ? is the difference only limited to obtain lock and refrain other threads from accessing it or are there other use cases?
Why should I go for wait and notify in multithreading when join can be used for completion of thread execution?
It would be helpful if any real time examples have been provided