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...
About Question com.enthuware.ets.scjp.v6.1.753 :
Moderator: admin
-
- Posts: 1
- Joined: Mon Aug 18, 2014 2:41 pm
- Contact:
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.1.753 :
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.
HTH,
Paul.
Who is online
Users browsing this forum: Bing [Bot] and 20 guests