Vaandu interview question

Why wait () and notify() are in object class