public class LambdaRunnable { public static void main(String[] args) { // Creating and starting a thread using a lambda expression new Thread(() -> System.out.println("Hello, World from a thread with lambda!")).start(); } }