Last active
August 19, 2021 11:40
-
-
Save wkdalsgh192/eceb8cc1aaec06b6d6c0dba54158ac48 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread thread = new Thread(() -> { | |
try { | |
Thread.sleep(1000L); | |
} catch (InterruptedException e) { | |
e.printStackTrace(); | |
} | |
System.out.println("Thread : "+ Thread.currentThread().getName()); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment