About Question com.enthuware.ets.scjp.v6.2.793 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
ETS User

About Question com.enthuware.ets.scjp.v6.2.793 :

Post by ETS User »

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?

admin
Site Admin
Posts: 10065
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.793 :

Post by admin »

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
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 231 guests