MCPcopy Create free account
hub / github.com/DuGuQiuBai/Java / main

Method main

day24/code/day24_Thread/src/cn/itcast_03/StudentDemo.java:18–31  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

16 */
17public class StudentDemo {
18 public static void main(String[] args) {
19 // ����һ��ѧ����Դ
20 Student s = new Student();
21
22 // �����̶߳���
23 SetThread st = new SetThread(s);
24 GetThread gt = new GetThread(s);
25
26 Thread t1 = new Thread(st);
27 Thread t2 = new Thread(gt);
28
29 t1.start();
30 t2.start();
31 }
32}

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected