3
對Java,但我想不通爲什麼這個程序沒有結束:這個程序爲什麼不終止?
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
class Main {
public static void main(String[] args) {
ScheduledExecutorService ex = Executors.newScheduledThreadPool(100);
ex.submit(() -> { System.out.println("."); });
}
}
修復它。謝謝! – ConditionRacer