Skip to content

Commit 8016440

Browse files
committed
add thread
1 parent 571088b commit 8016440

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.idea/compiler.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java_test/src/main/java/com/yiyun/JustTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,18 @@ public void fun2() {
4343
System.out.println( 1==1);
4444
System.out.println(129 == 129);
4545
}
46+
47+
@Test
48+
public void fun3(){
49+
new Thread(()-> System.out.println("hello = " ),"hello");
50+
new RunnableTest().run();
51+
}
4652

4753
}
54+
class RunnableTest implements Runnable{
55+
56+
@Override
57+
public void run() {
58+
59+
}
60+
}

0 commit comments

Comments
 (0)