Implement following method of ScheduledExecutorService interface in Java
public class ScheduledExecutorService {
/**
* Creates and executes a one-shot action that becomes enabled after the given delay.
*/
public void schedule(Runnable command, long delay, TimeUnit unit) {
}
}