r/javahelp • • Jun 02 '21

Codeless What is Future class in java?

I saw this class being used in a project recently, which was handling a parallel processing request. Please explain to me in layman terms what is the purpose of this class?

0 Upvotes

9 comments sorted by

View all comments

4

u/NautiHooker Software Engineer Jun 02 '21

I think the docs do a good job of explaining this.

https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Future.html

2

u/wildjokers Jun 02 '21

1

u/NautiHooker Software Engineer Jun 02 '21

True. I just picked the first one from Google. Didnt pay attention to the version. Thanks!