wait() always causes the current thread to go into the object’s wait pool. Hence, using this in a thread will keep it in running state.
Previous Question Next Question
Your comments will be displayed only after manual approval.