Does the wait method immediately relinquish control of Lock

I was reading the Java docs and it says about notify method that it will not immediately relinquish the control. That is if there is some code remain in the synchronized block of code after call to notify method then it will first complete the remaining code and then relinquish the control.

synchronized(this) {
// line 1
notify();
//line 2
// line 3
}

line 2 and line 3 will still be executed. Does the same functionality will go for the wait method that is

synchronized(this) {
// line 1
wait();
//line 2
// line 3
}

Will line 2 and line 3 will be executed?


Click here view more answers http://ift.tt/1MA9C9h