About Question enthuware.ocpjp.ii.v11.2.1256 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
sheldon_si
Posts: 1
Joined: Thu Jun 04, 2020 1:31 pm
Contact:

About Question enthuware.ocpjp.ii.v11.2.1256 :

Post by sheldon_si »

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.
there is a typing error on ExecutorService, it should be ScheduledExecutorService according to the description you have provided.

Online
admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.ii.v11.2.1256 :

Post by admin »

No, it is not an error. This comment is for ScheduledExecutorService and is written under that heading. ScheduledExecutorService is an ExecutorService. That is why, the comment starts that way.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 8 guests