Skip to content

Commit 70d5779

Browse files
author
shibo
committed
作业2 future实现
1 parent fa290a2 commit 70d5779

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • 03concurrency/0301/src/main/java/java0/conc0303/homework03

03concurrency/0301/src/main/java/java0/conc0303/homework03/Homework1.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ public class Homework1 {
99
public static void main(String[] args) throws InterruptedException, ExecutionException {
1010
long start = System.currentTimeMillis();
1111

12-
Homework1 demo = new Homework1();
1312

1413
FutureTask<Integer> task = new FutureTask<>(() -> sum());
1514
new Thread(task).start();

0 commit comments

Comments
 (0)