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

Method main

day24/code/day24_Thread/src/cn/itcast_06/StudentDemo.java:54–67  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

52 */
53public class StudentDemo {
54 public static void main(String[] args) {
55 // ����һ��ѧ����Դ
56 Student s = new Student();
57
58 // �����̶߳���
59 SetThread st = new SetThread(s);
60 GetThread gt = new GetThread(s);
61
62 Thread t1 = new Thread(st);
63 Thread t2 = new Thread(gt);
64 t1.start();
65 t2.start();
66
67 }
68}

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected