About Question enthuware.ocpjp.ii.v11.2.1256 :
Posted: Wed Jun 10, 2020 1:28 pm
there is a typing error on ExecutorService, it should be ScheduledExecutorService according to the description you have provided.An ExecutorService that can schedule commands to run after a given delay, or to execute periodically. The schedule methods create tasks with various delays and return a task object that can be used to cancel or check execution. The scheduleAtFixedRate and scheduleWithFixedDelay methods create and execute tasks that run periodically until cancelled.