Wait Method In Java Multithreading Interview