import ;
import ;
import ;
public class Task3 {
public static void main(String[] args) {
Runnable runnable = new Runnable() {
public void run() {
("Hello !!");
}
};
ScheduledExecutorService service = Executors
.newSingleThreadScheduledExecutor();
(runnable, 10, 1, );
// Create and execute ScheduledFuture enabled after a given delay.
// Parameters:
// callable - function to be executed
// delay - the time to delay execution from now on
// unit - the time unit of delay parameters
// return:
// ScheduledFuture that can be used to extract results or cancel
(runnable, delay, );
}
}