Skip to content

Commit 9e58ee7

Browse files
committed
code changes
1 parent 965a03f commit 9e58ee7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package java8.lambda;
2+
/**
3+
*
4+
* @author saurav
5+
*
6+
*/
7+
public class LambdaDemo6
8+
{
9+
public static void main(String[] args)
10+
{
11+
Runnable r=()->System.out.println("Thread is running");
12+
Thread thread=new Thread(r);
13+
thread.start();
14+
}
15+
}

0 commit comments

Comments
 (0)