I disagree. I believe you need the lock to call notify, so notify should be called first and then the lock can be released. Am I correct?Thread T1 releases the lock on obj and calls the notify() method on obj.
About Question com.enthuware.ets.scjp.v6.2.342 :
Moderators: Site Manager, fjwalraven
About Question com.enthuware.ets.scjp.v6.2.342 :
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.342 :
You are right. The wording of the option and the explanation has now been updated.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 123 guests