Page 1 of 1

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

Posted: Mon Aug 18, 2014 2:43 pm
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...

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

Posted: Mon Aug 18, 2014 8:41 pm
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.