Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScheduledExecutorService表述错误 #951

Open
ZacBi opened this issue Oct 12, 2020 · 0 comments
Open

ScheduledExecutorService表述错误 #951

ZacBi opened this issue Oct 12, 2020 · 0 comments

Comments

@ZacBi
Copy link

@ZacBi ZacBi commented Oct 12, 2020

接口只能继承接口, 怎么实现?
Java线程池中的表述有问题

而 ScheduledExecutorService 又实现了 ExecutorService,正如我们下面给出的类关系图显示的一样。

ScheduledExecutorService 和 ExecutorService同为接口
源码:

public interface ScheduledExecutorService extends ExecutorService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.