IBM
C2050-725 · Question #63
An application developer is coding a task command for a precision marketing target element. In order to achieve this, the new task command implements EnterBirthdayTaskCmd. Which of the following…
The correct answer is B. private final static Logger logger =. See the full explanation below for the reasoning.
Question
An application developer is coding a task command for a precision marketing target element. In order to achieve this, the new task command implements EnterBirthdayTaskCmd. Which of the following statements would the application developer use for logging purposes?
Options
- Aprivate final static Logger LOGGER = new LoggingHelper().getLogger
- Bprivate final static Logger logger =
- Cprivate final static Logger LOGGER = new LoggingHelper().getLog
- Dprivate final static Logger logger = Logging.getLogger (EnterBirthdayTaskCmdImpl.class);
How the community answered
(47 responses)- A2% (1)
- B81% (38)
- C13% (6)
- D4% (2)
Community Discussion
No community discussion yet for this question.