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

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

Moderator: admin

Post Reply
erno1978
Posts: 1
Joined: Mon Aug 18, 2014 2:41 pm
Contact:

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

Post by erno1978 »

I think this is a bad question.

public void dumpLog() is there. I know. But it's not called. So I don't see the need for synchronizing...

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

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

Post by admin »

I disagree. The question is fine. Only the code for Logger class is shown. The code that uses this class is not shown. So how do you know dumpLog() is not called?

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 10 guests