changes.mady.by.user Alan Bateman
Saved on Apr 21, 2020
...
var thread = Thread.newThread(Thread.VIRTUAL, () -> System.out.println("hello")); // unstarted thread.start(); thread.join(Duration.ofSeconds(5));