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

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

Moderator: admin

Post Reply
Francisco J. Bermejo

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

Post 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".

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

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

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

Francisco J. Bermejo

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

Post by Francisco J. Bermejo »

Yes, you're right! Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests