top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is FutureTask class in java?

0 votes
382 views
What is FutureTask class in java?
posted Jan 25, 2018 by Frank Lee

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

FutureTask class is the base concrete class that implements Future interface. We use it with callable implementation and executors for asynchronous processing. FutureTask provide implementation methods to check the state of the task and return the value to the calling program once it’s processing is finished. It comes handy when you want to override some of the implementation methods of the Future interface.

answer Jan 29, 2018 by Ammy Jack
...