【初心者】 Java質問・相談スレ29 【大歓迎】
■ このスレッドは過去ログ倉庫に格納されています
0355デフォルトの名無しさん
NGNG実験コードは下記の通りです。
class Hoge {
public void threadTestStart() {
Mage mg1 = new Mage();
Thread th1 = new Thread(mg1, "th1");
th1.start();
try {
Thread.sleep(500);
} catch (InterruptedException ie) {}
mg1.print();
mg1.printLoop();
System.out.println(mg1.getLoop().reverse());
}
public static void main(String[] args) {
(new Hoge()).threadTestStart();
}
}
まだ続きます
■ このスレッドは過去ログ倉庫に格納されています