Is there something like C# Task in Java?

c#, concurrency, java

Solution

The Fork/Join framework introduced in Java 7 is probably the closest thing:

http://docs.oracle.com/javase/tutorial/essential/concurrency/forkjoin.html

Problem

I am trying to learn C#! I am most familiar with Java between programming languages! Just now I am trying to understand `Task`'s! Is there something like `Task` in Java? What are the differences between `Task`'s and threads? What does `Task` offer that threads can not do? Basically why do we need `Task`'s?

Original source

Related problems