Solved

Following Is the API for One of the Schedule Methods

Question 5

Multiple Choice

Following is the API for one of the schedule methods of the Timer class:
Void schedule( TimerTask task, long d, long p )
What do d and p represent?


A) They represent two resources.
B) The task will start after d milliseconds; the task will run every p milliseconds.
C) The task will start after p milliseconds; the task will run every d milliseconds.
D) The task will last d milliseconds and will stop after p milliseconds.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents