Oracle
1Z0-900 · Question #33
1Z0-900 Question #33: Real Exam Question with Answer & Explanation
The correct answer is D. timerService.createTimer(alarmDate, -l, config);. See the full explanation below for the reasoning.
Question
Given: You are creating an Alarm management system. When you create a new alarm, you want it to create an alert that is triggered once at the specified time. Which method should you call on Line 9 to create the timer?
Exhibit
Options
- AtimerService.createCalendarTimer(alarmDate, config);
- BtimerService.createSingleActionTimer(alarmDate, config);
- CtimerService.createIntervalTimer(alarmDate, -l, config);
- DtimerService.createTimer(alarmDate, -l, config);
Community Discussion
No community discussion yet for this question.
