I have the following code snippet:
public class A { public static void main(String[] arg) { new Thread() { public void run() {
Leaving this here for future reference, but its an answer too.
new Thread(() -> whatever()).start();