1
2
3
4
5
6
7public
8class SimpleRunnableTest1 {
9
10 public static
11 void main(String[] argv) {
12
13 Thread [] threads =
14 new Thread[argv.length];
15
16 for (int i = 0;
17 i < threads.length;
18 ++i) {
19
20 threads[i] =
21 new Thread(new SimpleRunnable(),
22 argv[i]);
23
24 threads[i].start();
25 }
26 }
27}
28
29
30