Commits

Micha Kops  committed 2ebb2a1

Runnable/thread example added.

  • Participants
  • Parent commits d706994

Comments (0)

Files changed (1)

File src/com/hascode/tutorial/Main.java

         namesBeginningWithLetterB.forEach(name -> {
             System.out.println(name);
         });
+        
+        System.out.println("--- thread/runnable example ---");
+        new Thread(() -> System.out.println("I run")).start();
     }
     
 }