Page 1 of 1

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

Posted: Mon Apr 04, 2011 6:55 am
by Francisco J. Bermejo
In the correct answer you say that run() method is defined in Thread. But as a matter of fact run() is defined in the java.lang.Runnable interface.
Moreover, "synchronize" is not a keyword, the correct keyword is "synchronized".

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

Posted: Mon Apr 04, 2011 3:23 pm
by admin
run() method is "declared" in Runnable but it is indeed "defined" in Thread class.

The typo with synchronized should be fixed asap.

thanks for reporting!

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

Posted: Sat Apr 09, 2011 6:52 am
by Francisco J. Bermejo
Yes, you're right! Thanks!