📅  最后修改于: 2022-03-11 14:52:49             🧑  作者: Mango
int number = 20;
Thread newThread = new Thread(() -> {
System.out.println("Factorial of " + number + " is: " + factorial(number));
});
newThread.start();