So the answer is wrong.
Because the answer given is
d) When a thread is waiting as a result of wait(), it release its locks. Instead it should have been
d) When a thread is waiting as a result of wait(), it releases its lock. I understand it is a very small margin of error but actually in the present context the meaning of the statement totally changes.
Probably this should never be the objective of
SCJP. But after taking some of the mock tests, I have been virtually checking each and every
word.
Sometimes the question looks very straight forward but actually when u check the answer it is different.