I have trouble understanding this.
the args objects that we are locking are completely different instances. Why would the notify method of AnotherThreads arg object matter to main method's arg parameter?
About Question com.enthuware.ets.scjp.v6.2.793 :
Moderator: admin
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.793 :
Why do you think that args objects are completely different instances. It is the same args array object that is being passed by the main method to AnotherThread.
HTH,
Paul
HTH,
Paul
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 231 guests