본문내용
;
i++;
}
}
}
FibonacciStarter
public class FibonacciStarter {
public static void main (String[] args) {
if (args.length == 0) {
new FibonacciGenerator(\"First thread\", 10).start();
new FibonacciGenerator(\"Second thread\", 10).start();
}
else {
new FibonacciGenerator(\"First thread\",
Integer.parseInt(args[0])).start();
new FibonacciGenerator(\"Second thread\",
Integer.parseInt(args[0])).start();
}
}
}
i++;
}
}
}
FibonacciStarter
public class FibonacciStarter {
public static void main (String[] args) {
if (args.length == 0) {
new FibonacciGenerator(\"First thread\", 10).start();
new FibonacciGenerator(\"Second thread\", 10).start();
}
else {
new FibonacciGenerator(\"First thread\",
Integer.parseInt(args[0])).start();
new FibonacciGenerator(\"Second thread\",
Integer.parseInt(args[0])).start();
}
}
}
소개글